From fefa8ca8a258e463a674ccd93654a76d3953fdc5 Mon Sep 17 00:00:00 2001 From: Joshua H <32615911+jshamg@users.noreply.github.com> Date: Wed, 8 Apr 2020 10:17:49 +0200 Subject: [PATCH] docs(api): update emulateMediaType example (#5606) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 7cb55ad8..e1375937 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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'}); ```