@p0deje, when_present is non blocking, so it doesnt verify for presence until 
we call a method on return value of when_present.

The reason we use when_present because it returns a promise object against 
which we can test other things, eg  @when_present.text.should == "something" 

Hope this helps
Kirill R


---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/216#issuecomment-22317565
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to