Skip to content
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

Missing Socket Responses #2091

Open
titusfortner opened this issue Feb 21, 2023 · 2 comments
Open

Missing Socket Responses #2091

titusfortner opened this issue Feb 21, 2023 · 2 comments

Comments

@titusfortner
Copy link

We're seeing this in the Selenium CI in all bindings and all versions of Firefox; starting on dates that coincide with 0.32.2 release. I tried to dive into the responses with Ruby.

Here are logs with 0.32.0 and 0.32.2. I don't see any difference in what is getting logged by geckodriver/marionette, but you can see that Ruby is just not getting any socket responses.

@whimboo
Copy link
Collaborator

whimboo commented Feb 21, 2023

Thanks for filing the bug Titus! Just some questions:

  • Is 0.32.1 also affected or not?
  • Do other bindings than Ruby show this problem?
  • Does setting the preference fission.autostart to false make it work?

I assume that the problem you are describing here is around the navigation events that are not visible in the 0.32.2 logs?

@whimboo
Copy link
Collaborator

whimboo commented Feb 22, 2023

Probably the issue here is related to the following prefs which aren't set:

1676992989489	CDP	ERROR	Invalid browser preferences for CDP. Set "fission.webContentIsolationStrategy"to 0 and "fission.bfcacheInParent" to false before Firefox starts.

Note that we only want to see those set for CDP usage but they should not be set for BiDi! Probably this is causing the problem.

@titusfortner is there any reason why the Ruby binding is using the navigation events from CDP? If not could the code be changed to get rid of CDP and use BiDi?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants