[bidi] Update browsing context create method#13766
[bidi] Update browsing context create method#13766pujagani merged 5 commits intoSeleniumHQ:trunkfrom
Conversation
|
PR Description updated to latest commit (fbfc664)
|
PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## trunk #13766 +/- ##
=======================================
Coverage 58.63% 58.63%
=======================================
Files 86 86
Lines 5272 5272
Branches 218 218
=======================================
Hits 3091 3091
Misses 1963 1963
Partials 218 218 ☔ View full report in Codecov by Sentry. |
e83526b to
c6c96c5
Compare
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Keeping with the evolving BiDi spec for browsing context create method - https://w3c.github.io/webdriver-bidi/#command-browsingContext-create. Added CreateContextParameters class.
Motivation and Context
Types of changes
Checklist
Type
enhancement, bug_fix
Description
CreateContextParametersclass in both Java and JavaScript to support the evolving BiDi spec for browsing context creation.referenceContextIdin favor of the newCreateContextParametersin Java.BrowsingContextconstructors and methods in Java and JavaScript to utilizeCreateContextParameters.Changes walkthrough
BrowsingContext.java
Update BrowsingContext Constructors for BiDi Compliancejava/src/org/openqa/selenium/bidi/browsingcontext/BrowsingContext.java
referenceContextIdparameter.CreateContextParameters.createmethod to supportCreateContextParameters.CreateContextParameters.java
Add CreateContextParameters Class for Browsing Context Creationjava/src/org/openqa/selenium/bidi/browsingcontext/CreateContextParameters.java
CreateContextParametersclass with methods to buildparameters for browsing context creation.
browsingContext.js
Refactor BrowsingContext Initialization and Creationjavascript/node/selenium-webdriver/bidi/browsingContext.js
initandcreatemethods to supportCreateContextParameters.createmethod.createContextParameters.js
Implement CreateContextParameters Class for Browsing Context Creationjavascript/node/selenium-webdriver/bidi/createContextParameters.js
CreateContextParametersclass with methods to set up browsingcontext creation parameters.
BrowsingContextTest.java
Update BrowsingContext Tests to Use New Constructorjava/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java
CreateContextParametersconstructor.browsingcontext_test.js
Add Tests for BrowsingContext Creation with New Parametersjavascript/node/selenium-webdriver/test/bidi/browsingcontext_test.js
CreateContextParameters.