There currently isn't a quick way to send specific keys. However, you can use createEvent (https://developer.mozilla.org/en/DOM/document.createEvent) to simulate a lot of behavior together with Capybara's standard execute_script method.
Currently, capybara-webkit automatically accepts all alert/confirm dialogs.
On Wednesday, June 27, 2012 at 1:33 AM, David Morton wrote:
> Using selenium, I can send keystroke input to the page with:
> and hit ok on dialogs with:
> Are there any webkit alternatives?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.