This seems like correct behavior to me. I think it might be appropriate to add a different method to return only what text is visible, say #visible_text. But, text is text, visible or not; the #text method should return it.
On Wed, Apr 14, 2010 at 13:49, shanth (JIRA) <watirj...@gmail.com> wrote: > IE#text.include? method returning true for hidden text also > ----------------------------------------------------------- > > Key: WTR-433 > URL: http://jira.openqa.org/browse/WTR-433 > Project: Watir > Issue Type: Bug > Components: HTML Controls > Affects Versions: 1.5.6 > Environment: windows xp > Reporter: shanth > Priority: Major > > > IE#text.include? method returning true for hidden text also > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://jira.openqa.org/secure/Administrators.jspa > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > _______________________________________________ > Wtr-development mailing list > Wtr-development@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development >
_______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development