chrome-for-testing-manager
Programmatic management of chrome-for-testing installations.
- Automatically resolves the requested version.
Chromedriver::run_latest_stable
is a shortcut forChromedriver::run(VersionRequest::LatestIn(Channel::Stable), PortRequest::Any)
. - Automatically downloads chrome-for-testing
chrome
andchromedriver
binaries 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.5", = ["thirtyfour"] }
# Additional dependencies for the example below.
= "0.1"
= "1"
= { = "1", = ["full"] }
Example
use *;
use *;
use *;
async
MSRV
- Starting from version
0.5.0
, the minimum supported rust version is1.85.0
- Starting from version
0.1.0
, the minimum supported rust version is1.81.0