docs(pptrfx): update readme (#3633)

This commit is contained in:
Andrey Lushnikov 2018-12-06 12:05:58 -08:00 committed by GitHub
parent b874529467
commit be836bef63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<img src="https://user-images.githubusercontent.com/39191/49555713-a07b3c00-f8b5-11e8-8aba-f2d03cd83da5.png" height="200" align="right">
# Puppeteer for Firefox
> Use Puppeteer's API with Firefox
@ -15,7 +17,7 @@ npm i puppeteer-firefox
# or "yarn add puppeteer-firefox"
```
Note: When you install puppeteer-firefox, it downloads a [custom-built Firefox](https://github.com/GoogleChrome/puppeteer/tree/master/experimental/juggler) that is guaranteed to work with the API.
Note: When you install puppeteer-firefox, it downloads a [custom-built Firefox](https://github.com/GoogleChrome/puppeteer/tree/master/experimental/juggler) (Firefox/63.0.4) that is guaranteed to work with the API.
### Usage
@ -44,6 +46,12 @@ node example.js
### API Status
Big lacking parts:
- `page.emulate`
- `page.pdf`
- all network-related APIs: `page.on('request')`, `page.on('response')`, and request interception
- class: Puppeteer
* puppeteer.executablePath()
* puppeteer.launch([options])
@ -184,4 +192,4 @@ node example.js
- class: TimeoutError
Special thanks to [Amine Zaza](https://bitbucket.org/aminerop/) who volunteered the [`puppeteer-firefox`](https://www.npmjs.com/package/puppeteer-firefox) NPM package.
Special thanks to [Amine Bouhlali](https://bitbucket.org/aminerop/) who volunteered the [`puppeteer-firefox`](https://www.npmjs.com/package/puppeteer-firefox) NPM package.

View File

@ -1,6 +1,6 @@
{
"name": "puppeteer-firefox",
"version": "0.4.0",
"version": "0.4.1",
"description": "Puppeteer API for Firefox",
"main": "index.js",
"repository": "github:GoogleChrome/puppeteer",