Skip to content

[js][BiDi] Browsing context commands#11473

Merged
harsha509 merged 3 commits intoSeleniumHQ:trunkfrom
TamsilAmani:js-bidi-browsing-context
Dec 23, 2022
Merged

[js][BiDi] Browsing context commands#11473
harsha509 merged 3 commits intoSeleniumHQ:trunkfrom
TamsilAmani:js-bidi-browsing-context

Conversation

@TamsilAmani
Copy link
Copy Markdown
Contributor

Description

Add BrowsingContext module commands based on the spec.
Refer to BiDi spec doc for details.

Motivation and Context

Support BrowsingContext commands based on the W3C BiDi spec. Currently, the commands supported by browsers are made public. Refer https://wpt.fyi/results/webdriver/tests/bidi/browsing_context?label=experimental&label=master&aligned&view=subtest. As browsers implement the rest of the commands, we can make them public (adding methods will not be a breaking change).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Comment thread javascript/node/selenium-webdriver/test/bidi/bidi_test.js Outdated
@pujagani
Copy link
Copy Markdown
Contributor

LGTM from BiDi spec perspective.

@harsha509
Copy link
Copy Markdown
Member

@TamsilAmani ,

Can you do npm run lint to fix any lint issues!

@TamsilAmani TamsilAmani force-pushed the js-bidi-browsing-context branch from f78d169 to 4c052b9 Compare December 23, 2022 09:23
@TamsilAmani
Copy link
Copy Markdown
Contributor Author

@harsha509 I ran npm run lint and errors were present in 3 files but the changes were not made by me. So I didn't change them.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@harsha509 harsha509 merged commit de9a229 into SeleniumHQ:trunk Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants