autonome / puppeteer-fx

Minimal implementation of the Puppeteer API for Firefox.
MIT License
31 stars 3 forks source link

page.setRequestInterception is not a function #2

Open bluzi opened 6 years ago

bluzi commented 6 years ago

Hello,

Thanks for making this package, I'm trying to use it to test my code on Firefox, however I need setRequestInterception and it doesn't seem to be available, though it is part of puppeteer.

Any chance it could be done using headless Firefox? I'll try to dig and find the answer myself, if I'll find something I'll make a PR, but thought maybe you already tried.

autonome commented 5 years ago

Hi @bluzi, thanks for the report!

Headless should be implemented, but I haven't tested in a long time, could be underlying Foxdriver stuff failed or Firefox impl changed. Filed https://github.com/autonome/puppeteer-fx/issues/3

Hm, all the underlying APIs needed for implementing setRequestInterception definitely exist. I probably won't be able to work on it for some time however 😢