Hi, When i use the follow codes in my script to handle the js confrim, an error occured. It says that can not find a button with id equal confirm.
The env is blow: win7 ruby 1.9.2 webdriver 0.2.5 I use the firefox as the testing browser, the version of ff is 4.0 and the language is chinese. browser.confirm(true) do browser.button(:id => "confirm").click end #=> "the confirm message" -- 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]
