📜  如何使用 puppeteer 填充输入字段? - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:09.703000             🧑  作者: 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