-
-
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
EdgeOptions.useWebView to return "this" #14157
Conversation
All ChromiumOptions methods return `this` This commit makes EdgeOptions.useWebView behave the same as other Options methods
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Can you add a return statement to the javadoc there as well? Thanks.
* EdgeOptions.useWebView to return this All ChromiumOptions methods return `this` This commit makes EdgeOptions.useWebView behave the same as other Options methods * update javadoc
User description
All ChromiumOptions methods return
this
This commit makes EdgeOptions.useWebView behave the same as other Options methods
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
All ChromiumOptions methods return
this
This commit makes EdgeOptions.useWebView behave the same as other Options methods
Motivation and Context
All ChromiumOptions methods return
this
This commit makes EdgeOptions.useWebView behave the same as other Options methods
Types of changes
Checklist
PR Type
Enhancement
Description
useWebView
method inEdgeOptions
class to return theEdgeOptions
instance (this
) instead of void.ChromiumOptions
methods that returnthis
.Changes walkthrough 📝
EdgeOptions.java
Modify `useWebView` method to return `EdgeOptions` instance
java/src/org/openqa/selenium/edge/EdgeOptions.java
useWebView
method to returnEdgeOptions
instead of void.this
in theuseWebView
method.