> I am trying to create some type of loop to reload a web page until the
> value I am looking for is present.
this works well for me:
while (not $ie.text.include? oid)
#refresh the screen
refresh
#optional info message
puts "still waiting ..."
sleep = 30
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---