From 88f6dda313b2f210e5f34329d137322ebe75f9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukasz=20Sz=C3=B3stek?= Date: Mon, 28 Aug 2017 19:14:40 +0200 Subject: [PATCH] [docs] a mistake in allowed values of `page.evaluateMedia` --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index f6a5d4752b065..fd10af7d9ece1 100644 --- a/docs/api.md +++ b/docs/api.md @@ -400,7 +400,7 @@ puppeteer.launch().then(async browser => { List of all available devices is available in the source code: [DeviceDescriptors.js](https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js). #### page.emulateMedia(mediaType) - - `mediaType` <[string]> Changes the CSS media type of the page. The only allowed values are `'screen'`, `'media'` and `null`. Passing `null` disables media emulation. + - `mediaType` <[string]> Changes the CSS media type of the page. The only allowed values are `'screen'`, `'print'` and `null`. Passing `null` disables media emulation. - returns: <[Promise]> #### page.evaluate(pageFunction, ...args)