-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Pass options to RemoteWebDriver #9240
Conversation
Would it work with headless option? In case |
Yes it works headless. I did not orignally discover your fix and did fix it this way independently... There is code which puts selenium/py/selenium/webdriver/chromium/webdriver.py Lines 75 to 77 in 9c41b0b
So either this is useless and should be removed or it is desired and then the Maybe even I'm happy to improve or close the pull request based on the feedback, but my knowledge of Selenium internals is very limited. |
Just checked with my CI, indeed your version works in headless mode as well! I do not understand then why |
The reason is I want to get Selenium 4 out the door first before as it's going to be a larger breaking change for people who use Selenium grid. Perhaps I am being overly cautious... |
Kudos, SonarCloud Quality Gate passed! |
Description
I believe that was the original intention of code in c23e440 - it updates or creates the options object, but it doesn't use it later.
This reverts #9208 and passes options to the super class.
In case passing desired_capabilities instead of options to super class is really intended, a lot of code dealing with the
options
object can be removed because it is never used here.CC @Dmitri-Sintsov, @earendil, @AutomatedTester
Motivation and Context
Please see #9188, #9208 and #7348
Types of changes
Checklist