chromedriver-update-0.1.3 has been yanked.
chromedriver
Automatically download Chromedriver when the browser/driver versions do not match.
usage
install & run
# use default values
# or
build source code & run with arguments
run source code && with arguments
arguments:
these default values are only useful for mac
Options:
-d, --driver-path <driver_PATH>
[default: /usr/local/bin/chromedriver]
-b, --browser-path <BROWSER_PATH>
[default: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"]
-c, --connect-timeout <CONNECT_TIMEOUT>
[default: 5000]
-t, --timeout <TIMEOUT>
[default: 10000]
-h, --help
Print help
-V, --version
Print version
code usage
notice: require rust >= v1.80
add package
cargo add chromedriver-update
example with default config
use ChromeDriver;
let mut driver = new;
driver.init.await;
println!;
println!;
driver.try_download.await;
example with custom config
use ChromeDriver;
let mut driver = new;
driver
.set_driver_path
.set_browser_path
.set_connect_timeout
.set_timeout
.init
.await;
println!;
println!;
driver.try_download.await;