You still have to use #click_no_wait with Watir-Classic to make the alert
to appear. Using #click would block indefinitely :(
I have written about debugging #click_no_wait problems in the past. It can
be slightly out of date, but the big picture should be the same. Read it
here:
On Thursday, May 16, 2013 4:34:56 AM UTC-7, Marc Westwood wrote:
I'm having some problems with click_no_wait.
I have a button which when clicked displays a modaldialog. I am using
click_no_wait when clicking the button the button turns yellow but I am not
getting the modal dialog
Try increasing the sleep time. When it works through IRB, but not in
code, most often than not, the issue is related to timing.
On Nov 30, 3:30 am, Deep dedeepya.kanipa...@gmail.com wrote:
Hi,
I need to clear the checkbox which gives a pop up with OK and Cancel
buttons. Then I have to click