这是indexloc提供的服务,不要输入任何密码
Skip to content

rpede/web_driver_installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To install and start Chrome Driver.

dart lib/web_driver_installer.dart chromedriver

If one wants to keep driver running after terminal shutdown add &

dart lib/web_driver_installer.dart chromedriver &

Chrome Driver versions are stored in driver_version.yaml.yaml. Driver version can also be given as an argument.

dart lib/web_driver_installer.dart chromedriver --driver-version="78.0.3904.105"

There might be an already installed version of the driver. If one wants to override they can use the following flag, otherwise the existing driver is used.

dart lib/web_driver_installer.dart chromedriver --always-install

To only install the chrome driver

dart lib/web_driver_installer.dart chromedriver --install-only

To enable and start Safari Driver.

dart lib/web_driver_installer.dart safaridriver

Start a specific version of the driver. This will end with an error if the exiting version differs from the system version. This is useful for failing fast when running on CI environments to see if the expected version is installed.

dart lib/web_driver_installer.dart safaridriver --driver-version="13.0.5"

No-options also currently defaults to install and start Chrome Driver. It will be deprecated soon.

dart lib/web_driver_installer.dart &

For Firefox Driver

To install and keep running:

dart lib/web_driver_installer.dart firefoxdriver&

Firefox uses gecko driver. The default is taken from driver_version.yaml file. One can provide different release versions for gecko driver. For releases see: https://github.com/mozilla/geckodriver/releases

dart lib/web_driver_installer.dart firefoxdriver --driver-version="v0.25.0"

Note that always-install and install-only commands can still be used for Firefox.

dart lib/web_driver_installer.dart chromedriver --always-install

dart lib/web_driver_installer.dart chromedriver --install-only

About

Web install scripts for CI for Flutter Web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%