The text() method documentation doesn't state that text will not be returned if the element or any of its ancestors are hidden. I think this might be useful to mention to save much head-scratching :)
The text() method documentation doesn't state that text will not be returned if the element or any of its ancestors are hidden.
I think this might be useful to mention to save much head-scratching :)