Answers for "puppeteer how to type in input"

0

puppeteer how to type in input

const page = await browser.newPage();

page.type("input", "value"); //type instantly
page.type("input", "value", { delay: 100 }); //type like a normal user

Docs - https://devdocs.io/puppeteer/index#pagetypeselector-text-options
Posted by: Guest on September-15-2021

Browse Popular Code Answers by Language