mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(readme): update cross-browser FAQ (#5634)
This commit is contained in:
parent
35989a78ba
commit
c5df4902cb
10
README.md
10
README.md
@ -298,15 +298,13 @@ See [Contributing](https://github.com/puppeteer/puppeteer/blob/master/CONTRIBUTI
|
|||||||
|
|
||||||
#### Q: What is the status of cross-browser support?
|
#### Q: What is the status of cross-browser support?
|
||||||
|
|
||||||
Historically, Puppeteer supported Firefox indirectly through puppeteer-firefox, which relied on a custom, patched version of Firefox. This approach was also known as “Juggler”.
|
Official Firefox support is currently experimental. The ongoing collaboration with Mozilla aims to support common end-to-end testing use cases, for which developers expect cross-browser coverage. The Puppeteer team needs input from users to stabilize Firefox support and to bring missing APIs to our attention.
|
||||||
After discussions with Mozilla, we collectively concluded that relying on custom patches was infeasible.
|
|
||||||
Since then, we have been collaborating with Mozilla on supporting Puppeteer on “stock” Firefox.
|
|
||||||
From Puppeteer v2.1.0 onwards, as an experimental feature, you can specify [`puppeteer.launch({product: 'firefox'})`](https://github.com/puppeteer/puppeteer/blob/v2.1.1/docs/api.md#puppeteerlaunchoptions) to run your Puppeteer scripts in Firefox Nightly, without any additional custom patches.
|
|
||||||
|
|
||||||
We will continue collaborating with other browser vendors to bring Puppeteer support to browsers such as Safari.
|
From Puppeteer v2.1.0 onwards you can specify [`puppeteer.launch({product: 'firefox'})`](https://github.com/puppeteer/puppeteer/blob/v2.1.1/docs/api.md#puppeteerlaunchoptions) to run your Puppeteer scripts in Firefox Nightly, without any additional custom patches. While [an older experiment](https://www.npmjs.com/package/puppeteer-firefox) required a patched version of Firefox, [the current approach](https://wiki.mozilla.org/Remote) works with “stock” Firefox.
|
||||||
|
|
||||||
|
We will continue to collaborate with other browser vendors to bring Puppeteer support to browsers such as Safari.
|
||||||
This effort includes exploration of a standard for executing cross-browser commands (instead of relying on the non-standard DevTools Protocol used by Chrome).
|
This effort includes exploration of a standard for executing cross-browser commands (instead of relying on the non-standard DevTools Protocol used by Chrome).
|
||||||
|
|
||||||
|
|
||||||
#### Q: What are Puppeteer’s goals and principles?
|
#### Q: What are Puppeteer’s goals and principles?
|
||||||
|
|
||||||
The goals of the project are:
|
The goals of the project are:
|
||||||
|
Loading…
Reference in New Issue
Block a user