-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[js] add --websocket-port flag when not connecting to existing connection on firefox
#15468
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
…ection for firefox
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||
027231c to
5255f01
Compare
|
Closing this PR because commit c6210c1 makes a huge merge conflict which can only be solved by opening a new PR. |
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.
Motivation and Context
By having the
--websocket-portparameter by default we avoid port collisions when using BiDi with firefoxFixes #15451 for JS binding
Types of changes
Checklist
PR Type
Bug fix, Enhancement
Description
Added
--websocket-portflag to avoid port collisions in Firefox.Integrated
portproberto dynamically find free ports.Modified
ServiceBuilderto include the new flag when not connecting to an existing connection.Changes walkthrough 📝
firefox.js
Add dynamic `--websocket-port` flag in Firefox servicejavascript/node/selenium-webdriver/firefox.js
portproberfor finding free ports.ServiceBuilderto append--websocket-portwith a freeport.
connection.