文件名称:playwright-ruby-client
文件大小:1.7MB
文件格式:ZIP
更新时间:2024-03-28 05:44:48
Ruby
: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