Are you loading any firefox plugins that change the state of the DOM?
On Wednesday, March 15, 2017 at 3:24:23 AM UTC-4, Raja gopalan wrote:
>
> I have written the code to select the select list
>
> b.select_list(:id,'PolicyTypeANDL').select_value '2000025'
>
> It's working sometime and it's throwing error some time,
>
>
> Error is,
>
>
> Uncaught exception: [JavaScript Error: "can't access dead object" {file:
> "file:///C:/Users/RAJAGO~1.M/AppData/Local/Temp/webdriver-profile20170315-2040-1lnocuz/extensions/[email protected]/components/synthetic-mouse.js"
> line: 6285}]'[JavaScript Error: "can't access dead object" {file:
> "file:///C:/Users/RAJAGO~1.M/AppData/Local/Temp/webdriver-profile20170315-2040-1lnocuz/extensions/[email protected]/components/synthetic-mouse.js"
> line: 6285}]' when calling method: [wdIMouse::click]
> [remote server]
> file:///C:/Users/RAJAGO~1.M/AppData/Local/Temp/webdriver-profile20170315-2040-1lnocuz/extensions/[email protected]/components/command-processor.js:12109:in
> `WebElement.clickElement'
> [remote server]
> file:///C:/Users/RAJAGO~1.M/AppData/Local/Temp/webdriver-profile20170315-2040-1lnocuz/extensions/[email protected]/components/command-processor.js:12704:in
> `DelayedCommand.prototype.executeInternal_/k'
> [remote server]
> file:///C:/Users/RAJAGO~1.M/AppData/Local/Temp/webdriver-profile20170315-2040-1lnocuz/extensions/[email protected]/components/command-processor.js:12709:in
> `DelayedCommand.prototype.executeInternal_'
> [remote server]
> file:///C:/Users/RAJAGO~1.M/AppData/Local/Temp/webdriver-profile20170315-2040-1lnocuz/extensions/[email protected]/components/command-processor.js:12651:in
> `DelayedCommand.prototype.execute/<'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/response.rb:69:in
> `assert_ok'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/response.rb:32:in
> `initialize'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/http/common.rb:83:in
> `new'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/http/common.rb:83:in
> `create_response'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/http/default.rb:107:in
> `request'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/http/common.rb:61:in
> `call'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/bridge.rb:665:in
> `raw_execute'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/bridge.rb:643:in
> `execute'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/remote/bridge.rb:398:in
> `click_element'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/lib/selenium/webdriver/common/element.rb:74:in
> `click'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/element.rb:131:in
> `block in click'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/element.rb:640:in
> `element_call'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/element.rb:122:in
> `click'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/select.rb:158:in
> `click_option'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/select.rb:141:in
> `block in select_matching'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/select.rb:141:in
> `each'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/select.rb:141:in
> `select_matching'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/select.rb:136:in
> `select_by'
>
> C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.2.0/lib/watir/elements/select.rb:66:in
> `select_value'
>
> C:/Users/rajagopalan.m/RubymineProjects/SeleniumLearning/MyTest1.rb:27:in
> `<top (required)>'
>
>
--
--
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.