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 26092 - findElement doesn't tell that it should find element only inside current element
Summary: findElement doesn't tell that it should find element only inside current element
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2014-06-13 21:00 UTC by Andrey Botalov
Modified: 2016-05-09 09:58 UTC (History)
3 users (show)

See Also:


Attachments

Description Andrey Botalov 2014-06-13 21:00:24 UTC
I means this:
findElement(loc1).findElement(loc2)
Comment 1 Andreas Tolfsen 2014-06-16 11:22:48 UTC
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't hold any session state or control.

But you're right that finding elements in the context of another element seems to be missing.
Comment 2 David Burns :automatedtester 2016-05-09 09:58:48 UTC
This was fixed in https://github.com/w3c/webdriver/commit/15c9632133105079208b7a75cae7520b92ac8066