The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Joe Ferris <jfer...@thoughtbot.com>
Date: Thu, 28 Jun 2012 08:47:21 -0400
Local: Thurs, Jun 28 2012 8:47 am
Subject: Re: are there any webkit equivalents to selenium's send_keys and dialog handling?
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.
-Joe On Wednesday, June 27, 2012 at 1:33 AM, David Morton wrote:
> Using selenium, I can send keystroke input to the page with: > native.send_keys(:return)
> and hit ok on dialogs with:
> page.driver.browser.switch_to.alert.accept
> 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.
| ||||||||||||||