Re: Random Failures - Element is no longer attached to the DOM

280 views
Skip to first unread message

Roland Alvarado

unread,
Sep 20, 2012, 1:00:37 AM9/20/12
to rs...@googlegroups.com
Error Encountered:

  Element is no longer attached to the DOM (Selenium::WebDriver::Error::StaleElementReferenceError)
      [remote server] resource://fxdriver/modules/web_element_cache.js:5668:in `unknown'
      [remote server] file:///tmp/webdriver-profile20120920-10705-1ppaaxj/extensions/fxdr...@googlecode.com/components/command_processor.js:5282:in `unknown'
      [remote server] file:///tmp/webdriver-profile20120920-10705-1ppaaxj/extensions/fxdr...@googlecode.com/components/command_processor.js:9612:in `unknown'
      [remote server] file:///tmp/webdriver-profile20120920-10705-1ppaaxj/extensions/fxdr...@googlecode.com/components/command_processor.js:10131:in `unknown'
      [remote server] file:///tmp/webdriver-profile20120920-10705-1ppaaxj/extensions/fxdr...@googlecode.com/components/command_processor.js:10136:in `unknown'
      [remote server] file:///tmp/webdriver-profile20120920-10705-1ppaaxj/extensions/fxdr...@googlecode.com/components/command_processor.js:10074:in `unknown'
      ./features/support/page.rb:123:in `block in find'
      ./features/support/page.rb:180:in `retry_before_failing'
      ./features/support/page.rb:123:in `find'
      ./features/3_lib/meta_steps/page_meta_steps.rb:744:in `/^The instance named (.+) should be (?:in|of) (.+) status$/'
      features/1_feature_files/instances/create_an_instance.feature:36:in `Then the instance will be <Created or Not>'


On Wednesday, June 20, 2012 2:13:07 PM UTC+8, Ankita@Adslot wrote:
When my Automation scripts on firefox for some reason they fail randomly and this is the error

Selenium::WebDriver::Error::StaleElementReferenceError:
       Element is no longer attached to the DOM
     # [remote server] resource://fxdriver/modules/web_element_cache.js:5631:in `unknown'

Any help would be highly appreciated
 

David Chelimsky

unread,
Sep 20, 2012, 5:15:44 AM9/20/12
to rs...@googlegroups.com
I've never seen this particular error, myself and I see nobody else
has responded so I'm guessing it's not happening for any other readers
on this list. I'd recommend trying the webdriver google group, since
that's where the problem seems to be coming from.

HTH,
David
Reply all
Reply to author
Forward
0 new messages