Hello,

I am working with a website that displays modal elements at random times, 
which then need to be closed to continue interaction.

Currently I check before each interaction whether a popup is present - is 
there a way to handle this properly? 

The threads I found about modal elements were for when the popup time is 
known.
I was hoping there was some equivalent of jQuery's delegate() 
function<http://api.jquery.com/delegate/>, 
which triggers a callback when an element matches the selector at any time.

Richard

-- 
-- 
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/d/optout.

Reply via email to