Hi Steven,


while not ($browser.link(:text,"Withdraw").exists?)
                sleep 1
                $browser.reload()
end

1.) Is there a better way for me to do this?


I am not sure why you are getting the text of old screen.

2.) Since Firewatir uses .reload and Watir uses .refresh, how do I write my
script to handle both?  Is there a way to determine what $browser is at run
time?


Thanks a lot for mentioning this. I'll add an alias to the method.

Regards,
Angrez
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to