[Bug 24847] New: [WebDriver Spec]: Extend the find-by-link-text location strategy to apply to all elements

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24847

            Bug ID: 24847
           Summary: [WebDriver Spec]: Extend the find-by-link-text
                    location strategy to apply to all elements
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: w@wja.no
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
            Blocks: 20860

Many of the interactive elements in web applications these days are not links,
but arbitrary elements with event handlers. To test interaction with such
elements, test authors often resort to using XPath.

XPath is an undesirable anti-pattern that should be killed with fire. To be
able to fry it, we must first cater to its usecases and make it obsolete.

The first step can be to allow any element to be selected by its (visible)
text:

https://dvcs.w3.org/hg/webdriver/raw-file/default/webdriver-spec.html#link-text

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 27 February 2014 23:46:49 UTC