On Mon, Jun 20, 2011 at 9:10 PM, BillyMobilly <billymobi...@gmail.com> wrote: > In Watir I used .href in my scripts to navigate to pages. When I run > the same script with Watir WebDriver I get an error, seems to indicate > that "href" has been depricated, is that true? > > > Selenium::WebDriver::Error::ObsoleteElementError: Element is no longer > valid
Nope, not related to href. This message means that the element is no longer present in the DOM. This will happen if the page has been refreshed or navigated away from, or if the element in question has been removed by JavaScript. -- 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