webdrivers:保持您的Selenium WebDrivers自动更新

时间:2021-05-08 16:43:03
【文件属性】:
文件名称:webdrivers:保持您的Selenium WebDrivers自动更新
文件大小:45KB
文件格式:ZIP
更新时间:2021-05-08 16:43:03
webdriver selenium Ruby 网络驱动程序 通过自动安装和更新所有受支持的Webdriver,可以更轻松地运行Selenium测试。 描述 webdrivers下载驱动程序并指示Selenium使用它们。 目前支持: 可在macOS,Linux,Windows和Windows子系统(适用于Linux(WSL)v1和v2)上运行。 并请参阅底部的浏览器和操作系统特定说明。 用法 在您的Gemfile中: gem 'webdrivers' , '~> 4.0' , require : false 在您的项目中: require 'webdrivers' 现在,当您通过Selenium启动浏览器时,将自动下载或更新驱动程序。 特定驱动程序 如果您希望网络驱动程序仅管理特定的驱动程序,则可以指定一个或多个,如下所示: require 'webdrivers/chromedriver' require 'webdr
【文件预览】:
webdrivers-master
----bin()
--------console(375B)
--------setup(130B)
----Rakefile(207B)
----.github()
--------ISSUE_TEMPLATE.md(455B)
--------workflows()
----gemfiles()
--------Gemfile.edge(180B)
----.rubocop.yml(1KB)
----Gemfile(126B)
----spec()
--------spec_helper.rb(415B)
--------webdrivers()
--------webdrivers_proxy_support_spec.rb(2KB)
----.gitignore(92B)
----CHANGELOG.md(11KB)
----lib()
--------webdrivers.rb(208B)
--------webdrivers()
----webdrivers.gemspec(2KB)
----README.md(9KB)
----LICENSE.txt(1KB)

网友评论