launch函数的参数是什么呢?
import asynciofrom pyppeteer import launch
async def main():
browser = await launch()
page = await browser.newPage()
await page.goto('http://baidu.com')
await page.screenshot({'path': 'example.png'})
await browser.close()
asyncio.get_event_loop().run_until_complete(main())
怎么在launch函数中添加参数呢?有人能发一下launch函数的具体说明么 没见过这个,也没用过
你要具体参数说明,其实百度下不就好了么
https://www.jianshu.com/p/9cd272a7fd0a
https://blog.csdn.net/weixin_44029501/article/details/106547302
https://blog.csdn.net/weixin_42444342/article/details/105853706
页:
[1]