Hi Hugh,

I am using ruby 1.8.7 and watir 2.0 and trying to click a button on a Modal
dialog and nothing is happening.  Being new to watir what do I need to do to
get this to work?

Button I am trying to click:
<a id = "accept_terms_of_use"onclick = "remove_submit_button(); jQuery.*"

the watir action I am trying to complete:

# Clicking the Accept button for term of use
ie.button(:id => 'accept_terms_of_use').click

On Wed, Sep 21, 2011 at 10:03 AM, Hugh McGowan <[email protected]>wrote:

> Modal dialogs don't work yet in Ruby 1.9.2. The WIN32OLE API changed
> substantially in Ruby 1.9.2 and we rely on a custom compiled version
> of that library to provide access to the modal dialog DOM. This is
> working in Ruby 1.8.7 so if you need modal dialog support you'll need
> to go back (the latest version of Watir will of course work just
> fine). I'm not sure when I'll be able to take a look at this feature
> for 1.9.2 but hopefully in the relatively near future :).
>
> Thanks!
> Hugh
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to