this post was submitted on 26 Apr 2024
44 points (94.0% liked)
Firefox
20372 readers
159 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks that is a great lead ! So webdriver is a common interface of browser remote control.
Firefox has geckodriver which is a bridge from webdriver protocol to "marionette" which is firefox' internal remote control protocol.
Apparently, marionette is an open TCP port where you send a command and it replies in json.
I could make a batch script that uses netcat to send my commands ! I just need to figure put how to open that port and what the commands are.
Yes, IIRC there's a pref or env that needs to be set too.. I want to say MOZ_ENABLE_MARIONETTE, but it's been awhile.
I'm not sure what you mean by this, but you should not need to open any ports here, especially to the internet.
Even more, if you can find a setting for it, make firefox listen only on localhost, and not on your network interfaces, because this can quickly become a security nightmare.