Hey,

Running through a web site and clicking on links I have put in things
like this:

<code snippet>
when  ".zip"
link.click_no_wait
is_popup(@dialog_text_1) # text on dialog box

when  ".pdf"
link.click_no_wait
is_popup(@dialog_text_1) # text on dialog box
</code snippet>

So I can handle the pop up and clear them.

However, sometimes a PDF opens in the browser window instead of a pop
up.

Is there a way to determine if a link will have a pop up or not?

Thanks.

Brad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to