chrome-for-testing-manager
Programmatic management of chrome-for-testing installations.
- Automatically resolves the requested version.
Chromedriver::run_latest_stableis a shortcut forChromedriver::run(VersionRequest::LatestIn(Channel::Stable), PortRequest::Any). - Automatically downloads chrome-for-testing
chromeandchromedriverbinaries into a local cache directory. - Possibility to spawn the chromedriver process using a random port.
- Built-int session management.
Frees you from the need to
- manually download a chromedriver package matching your locally installed chrome,
- starting it manually,
- hardcoding the chosen chromedriver port into your tests and
- doing this all-over when trying to test with a new version of chrome.
Installation
[]
= "0.35"
= { = "0.4", = ["thirtyfour"] }
# Additional dependencies for the example below.
= "0.1"
= "1"
= { = "1", = ["full"] }
Example
use *;
use *;
use *;
async