playwright ruby client 源码
:performing_arts: Ruby的Playwright客户端 注意:目前,该宝石仅是PoC(概念验证)。 如果要使用Ruby开发用于Chrome的浏览器自动化,请考虑使用 。 playwright-ruby-client的可用API的列表在 入门 此时,playwright-ruby-client不包括playwright驱动程序的下载程序,因此我们必须提前安装 。 npm install playwright ./node_modules/.bin/playwright install 然后在Playwright.create处设置playwright_cli_executable_path: ./node_modules/.bin/playwright 。 更喜欢没有Node.js的剧本制作? 除了npm install,您还可以直接从playwright.azureedge.net/builds
用户评论