you should sleep a second then try again as click_no_wait is always so
slow...
code like this:
loop do
begin
browser.modal()
rescue Watir::Exception::NoMatchingWindowFoundException
sleep 1
end
end
在 Fri, 07 May 2010 05:15:30 +0800,arti
I am having difficulty using click_no_wait to open a second modal
window that is a child of the first modal window.
click_no_wait does not open the modal window, click works to open the
second modal window but then when the window is open, I am unable to
interact with it.
Ruby Version :
ruby 1.8.