This usually happens when the element has been removed from the DOM
after the element was located, and is usually an indication that
you're not waiting for the page to be in the expected state before
using the element. Relocating the element would also solve this
problem, e.g.:

https://gist.github.com/1118078

 On Sun, Jul 31, 2011 at 12:58 PM, Alister Scott
<alister.sc...@gmail.com> wrote:
> I'm getting the same error quite frequently when using watir-webdriver.
> It is happening near where I used execute_script to execute some javascript
> on a div, like "onclick"
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to