-
-
Notifications
You must be signed in to change notification settings - Fork 772
Common stealth issues
berstend̡̲̫̹̠̖͚͓̔̄̓̐̄͛̀͘ edited this page Nov 28, 2019
·
4 revisions
If you you modify the viewport (e.g. page.setViewport({ width: 1920, height: 1080 })
) you need to launch puppeteer with defaultViewport: null
.
Reason:
Puppeteer emulates viewport by default, so window resizing doesn't affect viewport.
Issue: #3688