Skip to content

Commit

Permalink
9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed May 20, 2021
1 parent 1add28a commit 74f1e21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="./logo.png" height="200" align="right">

###### [API](https://github.com/puppeteer/puppeteer/blob/v9.0.0/docs/api.md)
###### [API](https://github.com/puppeteer/puppeteer/blob/v9.0.1/docs/api.md)

A fork of [Puppeteer](https://pptr.dev/) running on Deno.

Expand All @@ -24,14 +24,14 @@ Most things that you can do manually in the browser can be done using Puppeteer!
To use Puppeteer, import it like so:

```ts
import puppeteer from "https://deno.land/x/[email protected].0/mod.ts";
import puppeteer from "https://deno.land/x/[email protected].1/mod.ts";
```

Puppeteer can use any recent version of Chromium or Firefox Nightly, but this version of Puppeteer is only validated against a specific version. To cache these versions in the Puppeteer cache, run the commands below.

```shell
PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/[email protected].0/install.ts
PUPPETEER_PRODUCT=firefox deno run -A --unstable https://deno.land/x/[email protected].0/install.ts
PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/[email protected].1/install.ts
PUPPETEER_PRODUCT=firefox deno run -A --unstable https://deno.land/x/[email protected].1/install.ts
```

You can find all of the supported environment variables to customize installation [in the Puppeteer docs](https://pptr.dev/#?product=Puppeteer&version=v5.5.0&show=api-environment-variables).
Expand All @@ -45,7 +45,7 @@ Puppeteer will be familiar to people using other browser testing frameworks. You
Save file as **example.js**

```js
import puppeteer from "https://deno.land/x/[email protected].0/mod.ts";
import puppeteer from "https://deno.land/x/[email protected].1/mod.ts";

const browser = await puppeteer.launch();
const page = await browser.newPage();
Expand All @@ -68,7 +68,7 @@ Puppeteer sets an initial page size to 800×600px, which defines the screenshot
Save file as **hn.js**

```js
import puppeteer from "https://deno.land/x/[email protected].0/mod.ts";
import puppeteer from "https://deno.land/x/[email protected].1/mod.ts";

const browser = await puppeteer.launch();
const page = await browser.newPage();
Expand All @@ -93,7 +93,7 @@ See [`Page.pdf()`](https://github.com/puppeteer/puppeteer/blob/v5.5.0/docs/api.m
Save file as **get-dimensions.js**

```js
import puppeteer from "https://deno.land/x/[email protected].0/mod.ts";
import puppeteer from "https://deno.land/x/[email protected].1/mod.ts";

const browser = await puppeteer.launch();
const page = await browser.newPage();
Expand Down

0 comments on commit 74f1e21

Please sign in to comment.