-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[bidi] Update browsing context create method #13766
[bidi] Update browsing context create method #13766
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
CreateContextParameters
class in both Java and JavaScript to support the evolving BiDi spec for browsing context creation.referenceContextId
in favor of the newCreateContextParameters
in Java.BrowsingContext
constructors and methods in Java and JavaScript to utilizeCreateContextParameters
.Changes walkthrough
BrowsingContext.java
Update BrowsingContext Constructors for BiDi Compliance
java/src/org/openqa/selenium/bidi/browsingcontext/BrowsingContext.java
referenceContextId
parameter.CreateContextParameters
.create
method to supportCreateContextParameters
.CreateContextParameters.java
Add CreateContextParameters Class for Browsing Context Creation
java/src/org/openqa/selenium/bidi/browsingcontext/CreateContextParameters.java
CreateContextParameters
class with methods to buildparameters for browsing context creation.
browsingContext.js
Refactor BrowsingContext Initialization and Creation
javascript/node/selenium-webdriver/bidi/browsingContext.js
init
andcreate
methods to supportCreateContextParameters
.create
method.createContextParameters.js
Implement CreateContextParameters Class for Browsing Context Creation
javascript/node/selenium-webdriver/bidi/createContextParameters.js
CreateContextParameters
class with methods to set up browsingcontext creation parameters.
BrowsingContextTest.java
Update BrowsingContext Tests to Use New Constructor
java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java
CreateContextParameters
constructor.browsingcontext_test.js
Add Tests for BrowsingContext Creation with New Parameters
javascript/node/selenium-webdriver/test/bidi/browsingcontext_test.js
CreateContextParameters
.