Skip to content

Commit

Permalink
chore: update incorrect link for DeviceDescriptors (#5777)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlrv committed Apr 30, 2020
1 parent af2e458 commit a8908cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -1321,7 +1321,7 @@ const iPhone = puppeteer.devices['iPhone 6'];
})();
```

List of all available devices is available in the source code: [DeviceDescriptors.js](https://github.com/puppeteer/puppeteer/blob/master/lib/DeviceDescriptors.js).
List of all available devices is available in the source code: [src/DeviceDescriptors.ts](https://github.com/puppeteer/puppeteer/blob/master/src/DeviceDescriptors.ts).

#### page.emulateMedia(type)
- `type` <?[string]> Changes the CSS media type of the page. The only allowed values are `'screen'`, `'print'` and `null`. Passing `null` disables CSS media emulation.
Expand Down

0 comments on commit a8908cf

Please sign in to comment.