Open iampopovich opened 5 days ago
⏱️ Estimated effort to review [1-5] | 2 |
🧪 Relevant tests | No |
🔒 Security concerns | No |
⚡ Key issues to review |
Access Level Changes: The PR changes the access levels of several fields in multiple classes. This could potentially expose internal implementation details and should be carefully reviewed to ensure that it does not violate encapsulation principles or introduce unintended side effects. |
Category | Suggestion | Score |
Best practice |
Change the access modifier of the
___
**Consider making the | 8 |
Make the
___
**Consider making the | 7 | |
Enhancement |
Initialize the
___
**Consider initializing the | 6 |
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
according to request in #13949 scopes of properties were increased here's a part of request
Motivation and Context
Types of changes
Checklist
PR Type
Enhancement
Description
HttpCommandExecutor
to improve compatibility with Appium:client
field changed to public.commandCodec
andresponseCodec
fields changed to protected.capabilities
field inRemoteWebDriver
to protected.exe
field inDriverService.Builder
to public.FluentWait
to protected:input
,clock
,sleeper
,timeout
,interval
,messageSupplier
,ignoredExceptions
.Changes walkthrough 📝
HttpCommandExecutor.java
Modify access levels for HttpCommandExecutor fields
java/src/org/openqa/selenium/remote/HttpCommandExecutor.java
client
field to public.commandCodec
andresponseCodec
fields to protected.RemoteWebDriver.java
Modify access level for RemoteWebDriver capabilities field
java/src/org/openqa/selenium/remote/RemoteWebDriver.java - Changed `capabilities` field to protected.
DriverService.java
Modify access level for DriverService.Builder exe field
java/src/org/openqa/selenium/remote/service/DriverService.java - Changed `exe` field to public.
FluentWait.java
Modify access levels for FluentWait fields
java/src/org/openqa/selenium/support/ui/FluentWait.java
input
,clock
,sleeper
,timeout
,interval
,messageSupplier
,ignoredExceptions
.