docs: replace invalid device descriptors link (#5589)

Fixes #5588.
This commit is contained in:
Bello Gbadebo 2020-04-06 07:50:13 +01:00 committed by GitHub
parent 99ecdbad0a
commit b3b0dc5025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,7 @@ The default flags that Chromium will be launched with.
- returns: <[Object]> - returns: <[Object]>
Returns a list of devices to be used with [`page.emulate(options)`](#pageemulateoptions). Actual list of Returns a list of devices to be used with [`page.emulate(options)`](#pageemulateoptions). Actual list of
devices can be found in [lib/DeviceDescriptors.js](https://github.com/puppeteer/puppeteer/blob/master/lib/DeviceDescriptors.js). devices can be found in [lib/DeviceDescriptors.js](https://github.com/puppeteer/puppeteer/blob/master/src/DeviceDescriptors.js).
```js ```js
const puppeteer = require('puppeteer'); const puppeteer = require('puppeteer');