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 made visible a certain text.
What’s wrong with:
.visible? is in the unit tests, it’s official, don’t be scared of it 🙂
Alan