Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support Puppeteer for Firefox #198

@m90

Description

@m90

Puppeteer now has experimental support for Firefox which would enable Mochify to run tests in Node, Chrome and Firefox (which is pretty great).

Looking at the table of already supported APIs everything that Mochify uses should already be implemented and theoretically the modules could just be hotswapped depending on which browser is targeted.

One big question I don't know an answer for: does this mean Mochify would include both puppeteer as well as puppeteer-firefox as a dependency (which would result in an even heftier install, probably too hefty) or should puppeteer-firefox live as an optionalDependency or peerDependency, or as something completely different? (Caveat: I don't know if puppeteer-firefox is even supposed to stay a dedicated package once it is mature, although I would be surprised if it wouldn't).


NB: As of March 2019 puppeteer-firefox has a bug where pages run in the context of file:// will not trigger console events, thus preventing usage with Mochify right now.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions