From 880575c71db48d2015599f5c7b35cf2d368fa803 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 13 Jul 2017 21:47:48 -0700 Subject: [PATCH] [README] page.setSize should be page.setViewportSize Fixes #77. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8de8d480..7476d683 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ A few notes: 1. By default, Puppeteer runs a bundled Chromium browser. However, you can point Puppeteer to a different executable ([example](https://github.com/GoogleChrome/puppeteer/blob/master/examples/custom-chromium-revision.js)) 2. Puppeteer creates its own Chromium user profile which it cleans up on every run. -3. Puppeteer sets an initial page size to 400px x 300px, which defines the screenshot size. The page size can be changed with `Page.setSize()` method +3. Puppeteer sets an initial page size to 400px x 300px, which defines the screenshot size. The page size can be changed with `Page.setViewportSize()` method ## API