[
http://jira.openqa.org/browse/WTR-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeljko closed WTR-420.
----------------------
Resolution: Won't Fix
If this is still a problem, please report it here:
https://github.com/watir/watir-classic/issues
> To make a method to fetch only visible text from (sub)elements
> --------------------------------------------------------------
>
> Key: WTR-420
> URL: http://jira.openqa.org/browse/WTR-420
> Project: Watir
> Issue Type: New Feature
> Components: HTML Controls, Table
> Affects Versions: 1.6.2
> Environment: Win2003, Watir 1.6.2, Ruby 1.8.6
> Reporter: Alexey
> Priority: Major
>
> For example we have the following html code:
> {code:html}
> <table>
> <tr>
> <td id="myelement">
> <div>Text 1</div>
> <div style="display:none;">Text 2</div>
> </td>
> </tr>
> </table>
> {code}
> with calling
> {code:Java}txt=browser.cell(:id => "myelement").innerText(){code}
> we will have {{txt="Text 1Text 2"}}
> But second div is invisible and user can see only "Text 1".
> It is needed to fetch only visible text with new method getVisibleText()
--
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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development