-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WebDriver] align locate_nodes/locator.py
with spec
#46345
Conversation
…s` (#2218) * w3c/webdriver-bidi#705 * w3c/webdriver-bidi#713 * web-platform-tests/wpt#46345 --------- Signed-off-by: Browser Automation Bot <[email protected]> Co-authored-by: Browser Automation Bot <[email protected]>
browsingContext.locateNodes
decrease maxDepth only on html elementslocate_nodes/locator.py
with spec
f62a48f
to
773f34e
Compare
@sadym-chromium is the linked spec change relevant for the change? as far as I see the test does not deal with document or document fragment nodes. |
Missing
|
@sadym-chromium document element is not a document |
Right, but it still aligns the tests with the spec. |
the document is tested in
|
updated description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@lutien would you mind reviewing these changes? Thanks |
documentElement
ishtml
, which containsbody
: document -> html -> body. Update test to respect this fact.