jarib/watir-webdriver — Issue #103: extentions/alert unreliable
Author: ccyphers
Created: 2011-10-11 15:33:35+00:00
State: open

While testing extentions/alert under watir-webdriver running on Linux I've found it to be very unreliable. How about using selenium's driver.switch_to.alert?

Then users can perform actions such as:

(Watir::Browser instance).alert_box.text
(Watir::Browser instance).alert_box.dismiss

See an impl at:
https://github.com/ccyphers/qa_robusta/blob/master/qa_observer/lib/watir.rb