Does watir's browser.text.include? count text inside invisible divs? If so, how to search only for v

Posted by karlthorwald on Stack Overflow See other posts from Stack Overflow or by karlthorwald
Published on 2010-04-28T20:53:49Z Indexed on 2010/04/28 20:57 UTC
Read the original article Hit count: 241

Filed under:

Does watir's browser.text.include? count text inside invisible divs? If so, how to search only for visible text?

I put all the instructions into the html from the beginning and use jQuery to hide and unhide the relevant parts.

How can I use watir's waiter to wait for only text that is visible?

My problem is, that the waiter always returns true, even before I have shown a certain text.

© Stack Overflow or respective owner

Related posts about watir