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.

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

Reply via email to