Are you using Firefox? I had this problem after updating Firefox to version 17.
Upgrading to the latest version of selenium-webdriver (2.27.2) fixed the issue for me. Justin On Wednesday, December 12, 2012 12:15:56 PM UTC-5, Abe Heward wrote: > > Note that I am using Watir-webdriver 0.6.2 > > On Wednesday, December 12, 2012 10:12:28 AM UTC-7, Abe Heward wrote: >> >> I appear to be misunderstanding something fundamental... >> >> Assume my page does not contain a span with a class of "welcome"... >> >> Given that, if I have this line in my Watir code: >> >> @browser.span(class: "welcome").exist? >> >> ...should that not immediately return a *false*? >> >> Why would this ever return a Timeout::Error? instead of *false*? >> >> All I'm getting, though, is the timeout error, which makes the .exists? >> method rather useless to me. >> >> What am I doing wrong, here? >> > -- 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]
