How to emulate the Enter key in Puppeteer
To emulate a keypress to the Enter
key in Puppeteer, use
await page.keyboard.press("Enter");
The E
needs to be uppercase for this to work!
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow