Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
 
PREVIOUS NEXT
Tagged: #puppeteer #type #input
ADD COMMENT
Topic
Name
6+3 =