-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[🐛 Bug]: Browser version labels (stable, beta, dev, nightly) are not supported in Firefox (java) #12633
Comments
I think the problem is GeckoDriver. What happens if you post this payload to GeckoDriver? {
"capabilities": {
"alwaysMatch": {
"browserName": "firefox",
"browserVersion": "beta",
"moz:firefoxOptions": {
"binary": "path/to/binary"
}
},
"firstMatch": [{}]
}
} |
@bonigarcia, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Yeah, you need to delete the browserVersion from Options after you send it to Selenium Manager. https://github.com/SeleniumHQ/selenium/blob/trunk/rb/lib/selenium/webdriver/common/selenium_manager.rb#L50 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
Selenium 4.12.0 delivers automated browser management of Firefox through Selenium Manager 0.4.12. Nevertheless, the browser version labels (stable, beta, dev, nightly) are not supported in the Java bindings. I don't know if this problem is Java-specific or also applies to other bindings.
How can we reproduce the issue?
The following test reproduces this issue:
Even when Firefox beta is in the cache (it would need #12632), the test fails as follows:
Relevant log output
Operating System
Reproduced in Windows and Linux
Selenium version
4.12.0-SNAPSHOT
What are the browser(s) and version(s) where you see this issue?
Firefox 117
What are the browser driver(s) and version(s) where you see this issue?
geckodriver 0.33.0
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: