-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
DesiredCapabilities and requiredCapabilities are ignored #1384
Comments
You can tell from the matched capabilities object that is returned that you have incorrectly configured the capability: The capabilities object should look like this:
|
Well, this didn't help, I must miss something:
|
Please look at your own log, you’re still passing the wrong input:
|
Oh, didn't know there is |
So maybe I should write some documentation about this, but geckodriver supports both the legacy Selenium style Selenium and WebDriverIO (which I don’t know) appear to be using the legacy object by default. In certain clients, such as the Selenium Java client, it may be impossible or very hard not to. What geckodriver does when it receives the HTTP request body for a new session is that it first looks to see if there is a Then additionally geckodriver supports what is known as extension capabilities. This is So in order to enable the
As well as:
Does that make sense? |
Only the second one works in my config, the desiredCapabilities are ignored (as you see it in the logs) |
@alippai does that work with geckodriver 0.21.0? |
I can try that next week. Using the new API is a nice workaround for me :) <3 |
Yes please do so. I wonder if that might be a regression by my Serde patch for geckodriver. If you can also please provide a code snippet which exercises this code path. Thanks. |
Sure, I'll do that. |
It is actually a regression in geckodriver. https://bugzilla.mozilla.org/show_bug.cgi?id=1494617 will take care of this, and we will release a new version soon. |
I fixed it. Just wait for the next release of geckodriver, and use 0.21.0 for now. Thanks again for reporting. |
FYI we just released geckodriver 0.23.0. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Testcase
Trying to use desiredCapabilities (like headless Firefox or acceptInsecureCerts)
Trace-level log
The text was updated successfully, but these errors were encountered: