Hello all,

Recently Microsoft submitted a patch that appears to break/remove 
*ExecuteScript. *I think this is causing *driver.execute_script* to fail 
with access denied error message when using watir-classic.
Since IE11 removes support for *ExecuteScript*, is it possible to use *eval 
*instead?

*Environment:*
Win7x64.
ruby 2.0.0p195 (2013-05-14) [i386-mingw32]
IE11 v11.0.9600.175.01. 
Update version: 11.0.15 kb3008923

*Relevant links:*
https://connect.microsoft.com/IE/feedback/details/1078055/executescript-failing-with-access-denied-when-kb3025390-is-installed
http://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ie/ms536420(v=vs.85).aspx

*Error message:*
irb(main):043:0> driver.execute_script(';')
WIN32OLERuntimeError: (in OLE method `execScript': )
    OLE error code:80070005 in <Unknown>
      Access is denied.

    HRESULT error code:0x80020009
      Exception occurred.
        from 
c:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-classic-3.7.0/lib/watir-classic/page-container.rb:29:in
 
`method_missing'
        from 
c:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-classic-3.7.0/lib/watir-classic/page-container.rb:29:in
 
`rescue in execute_script'
        from 
c:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-classic-3.7.0/lib/watir-classic/page-container.rb:22:in
 
`execute_script'
        from (irb):43
        from c:/Ruby200/bin/irb:12:in `<main>'
irb(main):044:0>

Thanks for the help.
-Chris

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to