-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[java][bidi]: implement getClientWindows
method
#14869
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Hi @pujagani, chrome 133 and Firefox 135 is released in stable channel and I have tested this BiDi method. |
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
Implemented
getClientWindows
method in java for BiDi and added the test.BiDi spec - https://w3c.github.io/webdriver-bidi/#command-browser-getClientWindows
Currently the PR is a draft as the above method is not released for stable, tested out with firefox nightly and chrome canary.
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Implemented
getClientWindows
method for BiDi in Java.Added
ClientWindow
andClientWindowInfo
classes for window management.Introduced tests for
getClientWindows
functionality.Updated Bazel build files to include new dependencies and modules.
Changes walkthrough 📝
ClientWindow.java
Introduced `ClientWindow` class for window identification
java/src/org/openqa/selenium/bidi/browser/ClientWindow.java
ClientWindow
class with anid
field.id
.ClientWindowInfo.java
Added `ClientWindowInfo` class for window details
java/src/org/openqa/selenium/bidi/browser/ClientWindowInfo.java
ClientWindowInfo
class with window properties.ClientWindowInfo
.Browser.java
Enhanced `Browser` module with `getClientWindows` method
java/src/org/openqa/selenium/bidi/module/Browser.java
getClientWindows
method to fetch client windows.ClientWindowInfo
.BrowserCommandsTest.java
Added tests for `getClientWindows` functionality
java/test/org/openqa/selenium/bidi/browser/BrowserCommandsTest.java
getClientWindows
method.ClientWindowInfo
properties.BUILD.bazel
Added Bazel build file for `browser` package
java/src/org/openqa/selenium/bidi/browser/BUILD.bazel
browser
package.ClientWindow
andClientWindowInfo
classes.
BUILD.bazel
Updated Bazel build for `Browser` module
java/src/org/openqa/selenium/bidi/module/BUILD.bazel
browser
package dependency.