env: win7/IE8 Ruby: 1.8.7 watir-webdriver: 0.6.1 selenium-webdriver: 2.19.0
The same code below in XP/IE8 is able to handle the execute_script and fire_event, but not on win7/IE8 browser.execute_script("window.confirm = function() {return true}") browser.link(:id => user_options[:login] + '_del').fire_event("onclick") Can anyone help. Thanks, Rj -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com