发现playwright太好玩了,玩了一天
本文是作者的自言自语://todo 未完待续
https://blog.csdn.net/lineuman
微软果然有大牛啊!有能人的公司总是令人敬佩。
playwright这种级别的工具简直就是核弹级别的。
当我开始使用playwright的时候,嘭的一下,我的世界炸了,要知道在几十分钟前我还在研究puppeteer这个工具,我还觉得puppeteer挺好用,和playwright比起了简直是小巫见大巫了。
为什么会这样呢?
原来如此啊!
If you compare the contributor pages for Playwright and Puppeteer, you’ll notice the top two contributors to Puppeteer now work on Playwright. The Puppeteer team essentially moved from Google to Microsoft and became the Playwright team. 果然核心人才是关键的,核心人才一走,高下立判。当初在puppeteer团队的人才,竟然被打包去了playwright,怪不得playwright越来越好用呢。
人生得意须尽欢,莫使金樽空对月。短暂的人生里就应该用这种好用的工具!!!
https://github.com/puppeteer/puppeteer/graphs/contributors
https://github.com/microsoft/playwright/graphs/contributors
https://github.com/microsoft/playwright
命令行:
npx playwright test --ui
generate the test code
npx playwright codegen
https://blog.appsignal.com/2023/09/20/when-to-use-playwright-over-puppeteer-in-nodejs.html