<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24847</bug_id>
          
          <creation_ts>2014-02-27 23:46:43 +0000</creation_ts>
          <short_desc>[WebDriver Spec]: Extend the find-by-link-text location strategy to apply to all elements</short_desc>
          <delta_ts>2014-07-07 15:58:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Browser Test/Tools WG</product>
          <component>WebDriver</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>24121</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Wilhelm Joys Andersen">w</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>dburns</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Browser Testing and Tools WG">public-browser-tools-testing</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101561</commentid>
    <comment_count>0</comment_count>
    <who name="Wilhelm Joys Andersen">w</who>
    <bug_when>2014-02-27 23:46:43 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>