Closed tnolet closed 6 years ago
The viewport width / height should be detected add add as a await page.setViewport({ width: 1280, height: 800 }) stanza after spawning the first page.
await page.setViewport({ width: 1280, height: 800 })
This is handy because after recording, menus might be invisible as the viewport is not very wide.
The viewport width / height should be detected add add as a
await page.setViewport({ width: 1280, height: 800 })
stanza after spawning the first page.This is handy because after recording, menus might be invisible as the viewport is not very wide.