Skip to content

Commit

Permalink
5.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Dec 30, 2020
1 parent 1e204d4 commit 9d64b0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
deno: ["v1.6.2", "nightly"]
deno: ["v1.x", "nightly"]
os: [windows-latest, ubuntu-latest] # Can't run on macOS because headless isn't working there.
fail-fast: false

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 9d64b0e

Please sign in to comment.