How to emulate Page up / Page down key in Puppeteer
To emulate a keypress to the Page up
key in Puppeteer, use
await page.keyboard.press("PageUp");
To emulate a keypress to the Page down
key in Puppeteer, use
await page.keyboard.press("PageDown");