Allow LocalNode to be extended for customisation#11718
Allow LocalNode to be extended for customisation#11718diemol merged 1 commit intoSeleniumHQ:trunkfrom
Conversation
Codecov ReportPatch and project coverage have no change.
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## trunk #11718 +/- ##
=======================================
Coverage 54.65% 54.65%
=======================================
Files 85 85
Lines 5643 5643
Branches 244 244
=======================================
Hits 3084 3084
Misses 2315 2315
Partials 244 244 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
diemol
left a comment
There was a problem hiding this comment.
What is the advantage? Why not keep it the way it is? Folks can still extend Node, right?
@diemol for most of the scenarios, a user should be perfectly fine in just extending
Owing to this, a user would never be able to eavesdrop on If we allowed users to extend Please let me know if that answers your question. |
LocalNode currently has a private constructor Which prevents it from being extended for customisation. Exposing the constructor for classes extending it.
b7cb793 to
7ae41f7
Compare
LocalNode currently has a private constructor
Which prevents it from being extended for customisation. Exposing the constructor for classes extending it.
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
Motivation and Context
Types of changes
Checklist