Answers for "how to fill an input field using puppeteer?"

0

how to fill an input field using puppeteer?

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

Code answers related to "how to fill an input field using puppeteer?"

Browse Popular Code Answers by Language