From a8908cf3e0f94d72228d0e2435472c39507aae20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C9=AF=CE=BBrv=C2=AC?= Date: Thu, 30 Apr 2020 09:14:12 +0100 Subject: [PATCH] chore: update incorrect link for DeviceDescriptors (#5777) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index e64c9c3e1cb2f..d766391316343 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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` Changes the CSS media type of the page. The only allowed values are `'screen'`, `'print'` and `null`. Passing `null` disables CSS media emulation.