[Wtr-development] [JIRA] Resolved: (WTR-422) Need a feature to identify unknown element using inner_text

Charley Baker (JIRA) watirjira at gmail.com
Sat Oct 2 17:42:30 EDT 2010


     [ http://jira.openqa.org/browse/WTR-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charley Baker resolved WTR-422.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Soon)
                   1.6.6

Closing, this will work with Element. 

> Need a feature to identify unknown element using inner_text
> -----------------------------------------------------------
>
>                 Key: WTR-422
>                 URL: http://jira.openqa.org/browse/WTR-422
>             Project: Watir
>          Issue Type: New Feature
>          Components: HTML Controls
>    Affects Versions: 1.6.5
>         Environment: IE: Windows
>            Reporter: Nick Wayne
>             Fix For: 1.6.6
>
>
> Hi,
> It would be really nice if a method is provided to identify any element using inner_text. Right now one has to know the type of element one is looking for to begin with. e.g. div or td or tr. But it is not possible to traverse back from the inner_text and get the element.
> e.g. What I am asking for is :
> <element1> text1 </element1> 
> to be able to get <element1> by matching text1 even though I do not know what is the type of <element1> is.
> Best regards,
> Nick

-- 
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

        


More information about the Wtr-development mailing list