const puppeteer = require('puppeteer');(async () => { const browser = await puppeteer.launch({headless:false}) const page = await browser.newPage() await page.goto('https://www.baidu.com'); await page.type('#kw','puppeteer',{delay:100}) await page.click('#su') await page.waitFor(2000) await browser.close();})();下载了好多关于puppeteer的demo都是点击没效果,求解!
添加回答
举报
0/150
提交
取消