<?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>26092</bug_id>
          
          <creation_ts>2014-06-13 21:00:24 +0000</creation_ts>
          <short_desc>findElement doesn&apos;t tell that it should find element only inside current element</short_desc>
          <delta_ts>2016-05-09 09:58:48 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>20860</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Botalov">botalov.andrey</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>ato</cc>
    
    <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>107815</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Botalov">botalov.andrey</who>
    <bug_when>2014-06-13 21:00:24 +0000</bug_when>
    <thetext>I means this:
findElement(loc1).findElement(loc2)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107852</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2014-06-16 11:22:48 +0000</bug_when>
    <thetext>So the spec only defines the service provider interface (SPI) to WebDriver and not the API as seen from a client binding language, so the example you use makes no sense because WebElement returned by findElement doesn&apos;t hold any session state or control.

But you&apos;re right that finding elements in the context of another element seems to be missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126381</commentid>
    <comment_count>2</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2016-05-09 09:58:48 +0000</bug_when>
    <thetext>This was fixed in https://github.com/w3c/webdriver/commit/15c9632133105079208b7a75cae7520b92ac8066</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>