OLE error code 80020101 caused by execute_script of waitr
问题 I just tried this: $browser.execute_script("alert(\"aaa\")") and then I get the error below: h:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/page-container.rb:46:in `method_missing': (in OLE method `execScript': ) (WIN32OLERuntimeError) OLE error code:80020101 in <Unknown> Could not complete the operation due to error 80020101.HRESULT error code:0x80020009 Exception occurred. from h:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/page