after further testing - does not looklike it works on IE at all (regardless
of win OS).
Any ideas?
Opened another thread trying to figure out if browser.confirm would help.
any help, whether its getting execute_script or confirm to work would be
appreciated.
Thanks,
RJ
On Monday, June 25, 2012 3:44:21 PM UTC-4, RJ wrote:
>
> 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.
[email protected]
http://groups.google.com/group/watir-general
[email protected]