foxr icon indicating copy to clipboard operation
foxr copied to clipboard

Interested in implementing features

Open victorhqc opened this issue 6 years ago • 2 comments

Hello 👋

I found this project because I want to build something but I didn't want to use puppeteer because I don't really want to download an additional browser in my node_modules. Unfortunately I hit some walls because there are missing features.

Usually I'd just jump in and submit some Pull Requests, but I didn't find many docs about how to use WebDriver, reading through the docs seems fairly straight forward. Could someone point me in the right direction? Maybe share some documents that may be obvious that I missed.

I'll be more than happy to tackle some of those pending issues 😉

Cheers!

Update: Reading through puppeteer docs turns out that you don't need to download the whole browser again. But still, I'm still would like to contribute to this experiment 😄

victorhqc avatar Nov 28 '19 19:11 victorhqc

The thing is that Foxr is made on top of Firefox own Marionette remote protocol, as it says in readme, and it's not the same as WebDriver and not compatible with it in any way. It's a huge advantage and a limitation at the same time – controlling browser directly without any additional flaky layers is nice, like Chrome + Puppeteer, but it lacks many features, and some of them are just impossible to implement by design of the Marionette protocol.

Another way to go is puppeteer-firefox, but it requires a special forked Firefox version.

Regarding the Puppeteer downloading Chrome – take a look at puppeteer-core.

deepsweet avatar Nov 28 '19 19:11 deepsweet

If you'd like to help – the main source of inspiration is here :) Open issues reflect what is possible to implement through the protocol.

deepsweet avatar Nov 28 '19 19:11 deepsweet