Skip to content

Commit

Permalink
docs(api): update emulateMediaType example (#5606)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshamg committed Apr 8, 2020
1 parent bbdaf92 commit fefa8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -1682,7 +1682,7 @@ Page is guaranteed to have a main frame which persists during navigations.
```js
// Generates a PDF with 'screen' media type.
await page.emulateMedia('screen');
await page.emulateMediaType('screen');
await page.pdf({path: 'page.pdf'});
```

Expand Down

0 comments on commit fefa8ca

Please sign in to comment.