On Friday, March 1, 2013 10:30:09 AM UTC-8, Champ wrote:

> Thanks Zelko. It was indeed a div on the same page.
>
>
Yep, these fake modal dialogs are actually really easy to deal with, once 
you realize it's all just stuff in the DOM (and lots of CSS magic to enable 
and disable the other stuff on the page while the 'modal dialog' is 
displayed).   Inspect the element as you normally would with your developer 
tool of choice, and then work with it just like you would any other web UI 
element.

Note that since that stuff is being created by javascript, I often find 
using the '.when_present' decorator is useful to prevent the script from 
trying to click the button 'too soon' and either not find it, or not find 
it in a clickable state

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to