Hi, everyone!!
I try to find button on just opened page without sleep command.
def open_user_creation_dialog
sleep 1
self.create_user_button_element.when_visible.click
end
When i use piece of code without sleep for Chrome browser, my page is
closed and i can't find defined button. There isn't such problem for FF.
I try to use a lot of variants to fix it, like :
def when_present(timeout=5)
def when_visible(timeout=5)
def when_not_visible(timeout=5)
def wait_until(timeout=5, message=nil, &block)
Are there some ideas to solve this?
--
--
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/groups/opt_out.