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

Firefox images should support CDP #599

Open
leipreachan opened this issue Jan 12, 2023 · 0 comments
Open

Firefox images should support CDP #599

leipreachan opened this issue Jan 12, 2023 · 0 comments

Comments

@leipreachan
Copy link

Firefox and geckodriver provide support of CDP

https://firefox-source-docs.mozilla.org/testing/geckodriver/Capabilities.html#moz-debuggeraddress

a solution similar to https://github.com/aerokube/images/tree/master/static/chrome/devtools can be added to Firefox images so users could interract with them

the may differences:

  • the user should provide capability "moz:debuggerAddress = true" to let geckodriver know that the functionality should be enabled
  • the capability "moz:debuggerAddress" in the reply holds host:port value of the devtools WS
  • geckodriver requires "Host" header to be correct when initializing WS connection (chromedriver ignores it)
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