-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[java] Add high-level BiDi API log examples #1835
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
Conversation
PR Reviewer Guide 🔍
Code Duplication
The setup method for initializing the FirefoxDriver with FirefoxOptions is repeated in each test. Consider refactoring this into a common setup method to avoid redundancy and make the code cleaner.
Hardcoded URL
The URL "https://www.selenium.dev/selenium/web/bidi/logEntryAdded.html" is hardcoded in multiple test methods. Consider using a constant or a configuration setting for this URL to make the tests more maintainable and flexible.
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
PR Code Suggestions ✨
|
Uh oh!
There was an error while loading. Please reload this page.
User description
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
Demonstrate usage of log handlers.
Motivation and Context
Types of changes
Checklist
PR Type
Tests
Description
LogTestto demonstrate the usage of BiDi API log handlers in Java.FirefoxDriverwith WebSocket capability.Changes walkthrough 📝
LogTest.java
Add BiDi API log handling tests in Javaexamples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/high_level/LogTest.java
LogTestfor BiDi API log examples.FirefoxDriverwith WebSocketcapability.