This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26487 - Element location strategies for link text and partial link text references example
Summary: Element location strategies for link text and partial link text references ex...
Status: NEW
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-31 17:15 UTC by Andreas Tolfsen
Modified: 2014-07-31 17:15 UTC (History)
1 user (show)

See Also:


Attachments

Description Andreas Tolfsen 2014-07-31 17:15:34 UTC
The element location strategies for link text [1] and partial link text [2] references examples in pseudo code which doesn't make any sense.  Besides this is uses the very misleading term “visible text” which is not further defined.

It clearly borrows the algorithm used for getting an element's text [3], so perhaps this algorithm should be generalized? 

1. https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#link-text
2. https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#partial-link-text
3. https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#widl-WebElement-getElementText-DOMString