-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java][bidi]: implement getClientWindows method
#14869
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
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. |
|
CI test requires Chrome 133 and Firefox 135 to pass |
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
getClientWindowsmethod 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
getClientWindowsmethod for BiDi in Java.Added
ClientWindowandClientWindowInfoclasses for window management.Introduced tests for
getClientWindowsfunctionality.Updated Bazel build files to include new dependencies and modules.
Changes walkthrough 📝
ClientWindow.java
Introduced `ClientWindow` class for window identificationjava/src/org/openqa/selenium/bidi/browser/ClientWindow.java
ClientWindowclass with anidfield.id.ClientWindowInfo.java
Added `ClientWindowInfo` class for window detailsjava/src/org/openqa/selenium/bidi/browser/ClientWindowInfo.java
ClientWindowInfoclass with window properties.ClientWindowInfo.Browser.java
Enhanced `Browser` module with `getClientWindows` methodjava/src/org/openqa/selenium/bidi/module/Browser.java
getClientWindowsmethod to fetch client windows.ClientWindowInfo.BrowserCommandsTest.java
Added tests for `getClientWindows` functionalityjava/test/org/openqa/selenium/bidi/browser/BrowserCommandsTest.java
getClientWindowsmethod.ClientWindowInfoproperties.BUILD.bazel
Added Bazel build file for `browser` packagejava/src/org/openqa/selenium/bidi/browser/BUILD.bazel
browserpackage.ClientWindowandClientWindowInfoclasses.
BUILD.bazel
Updated Bazel build for `Browser` modulejava/src/org/openqa/selenium/bidi/module/BUILD.bazel
browserpackage dependency.