I have a text-field on a HTML page which checks whether you have entered a value between 1 to 365. If the user enters an invalid value like a non-numeric character or a valu
I've found that wrapping the browser.javascript_dialog.button('OK').click command within a sleep(3) do, helps speedy browsers finish the command.
browser.javascript_dialog.button('OK').click
sleep(3) do