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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: DevTools Functionality is Broken for Firefox 97 in Java #10348
Comments
|
@diemol Don't we want to patch |
We are sorry about this regression. @titusfortner can you please explain the severity for it? In the short term we could have a patch that only enables these checks for WebDriver BiDi and leaves CDP alone until we are clear that it's working correctly and doesn't cause regressions for clients. We could uplift to Firefox 98 beta. How helpful would that be for you? Further how could we prevent these issues in the future? Do you have any CI jobs for Selenium that would at least run the set of existing tests for at least a Firefox beta? In such a case we would have the time to patch and uplift a regression to not break users on releases. |
I don't think devtools methods are being used for Firefox, yet. This was only flagged because of how selenium code elsewhere assumed there was going to be a CDP session and threw an unnecessary error. Yeah, leaving CDP alone until we figure things out with bidi makes sense to me. We can take a look at selenium Java tests, should be easy to add a github actions toggle for nightly if we want. |
The Java bindings use our CDP implementation for logging events, so what does
Both CDP and WebDriver BiDi make use of the same WebSocket code. As such we had this overlap and accident regression. We will introduce a patch which will disable the origin check if BiDi is not enabled (beta/release) until the final patch for host/origin opt-in has been landed.
That would be amazing! Thanks a lot. |
I only mean to say that based on various data points, the functionality we provide (CDP) doesn't seem to be getting a lot of use, yet. Hmm, doesn't look like it's easy to set up Firefox Nightly on Github actions. Can do a dev edition with this action https://github.com/browser-actions/setup-firefox |
Having a job that runs a developer edition build would be also great. That gives us enough time to fix regressions while the code is on beta. Nevertheless of the usage data we will push a small patch to beta. So folks using the logging feature might have to use beta for a while. |
Yes, I've verified if we force it to use Dev Edition here: https://github.com/titusfortner/selenium/pull/39/files We get failures in Firefox 98 that we aren't getting in Firefox 96 (doesn't look like by default Github is using most recent Firefox): https://github.com/titusfortner/selenium/runs/5189467447?check_suite_focus=true#step:10:12642 The way our |
Ok, got it working. We're now running Firefox latest and latest-devedition with Java on Github Actions, so we should get a heads up. Since there's nothing more we can do on the Selenium side, I'm closing this issue. |
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?
Firefox now requires an empty origin header for websockets, and Netty sends one by default: netty/netty#9673
How can we reproduce the issue?
Relevant log output
Operating System
MacOS Big Sur
Selenium version
Java 4.1.1
What are the browser(s) and version(s) where you see this issue?
Firefox 97
What are the browser driver(s) and version(s) where you see this issue?
Geckodriver 0.30.0
Are you using Selenium Grid?
n/a
The text was updated successfully, but these errors were encountered: