📜  puppeteer 如何输入输入 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:39.047000             🧑  作者: Mango

代码示例1
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