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

<feat> Mozilla Firefox support #14

Open
Werameli opened this issue Jun 29, 2023 · 4 comments
Open

<feat> Mozilla Firefox support #14

Werameli opened this issue Jun 29, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Werameli
Copy link

Can you please add Mozilla Firefox support?

@Werameli Werameli added the enhancement New feature or request label Jun 29, 2023
@manucabral manucabral self-assigned this Jun 30, 2023
@manucabral
Copy link
Owner

Hi, I will work on it. Thank you for your issue.

@manucabral manucabral changed the title <feat> <feat> Mozilla Firefox support Jul 16, 2023
@larayavrs
Copy link

#24 maybe will be added in a future :-)

@PickleUpADoodle
Copy link
Contributor

PickleUpADoodle commented Feb 16, 2024

Looked into adding Firefox support. Starting the Firefox browser using a subprocess with remote debugging enabled seems to work fine. Cannot seem to create a connection to the web socket however. Getting "The handshake request has incorrect Origin header" error. Assuming the flag --remote-allow-origins" when starting the browser process does not work but no clue how to fix

@PickleUpADoodle
Copy link
Contributor

Update: by setting --remote-allow-origins=http://127.0.0.1:9222/ it is possible to establish a websocket connection. Issue now is that the command evaluate.runtime returns context is null error. Have not been able to track the context id of the window, although omitting the "contextId" parameter should just take the regular window as default, like with the current Chrome implementation, but that is not working for Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants