There is a button on the site I am testing that sometimes triggers a
javascript pop-up, and sometimes it does not. If the pop up is
triggered, my code works as it should. It handles the pop up, and then
moves on to the next record in my loop. However, if there is NO pop
up, I need my script to
Thanks for the quick reply.
I've been trying to do something similar. Maybe I'm just not putting
things in the right places, because when I use begin and end with
rescue, my pop up never gets handled; it remains on the screen until
watir times out again.
Where would I insert the wait_until?
Hi,
I'm looking for a way to use a single ruby script to execute all of my
test script within three browsers (chrome/ff/ie). One script, say
main.rb, has the following code:
def launch_browser (browser)
if browser == :chrome
@b = Watir::Browser.new :chrome, :switches = [==ignore-certificate-