This program automates the task of looking for items with a wrong code in a list, and fixing them by looking up the correct codes in a csv file.
It depends on the following crates:
thirfyfour
: to interact with the WebDriver servertokio
: to provide asynchronous functionalitiescsv
: to provide csv parsing with serde supportserde
: to provide deserialization of CSV data into Rust structsserde_json
: to translate the JSON options file into Rust structs
To run the program, you'll need the standard Rust toolchain, including rustup
, rustc
, and cargo
.
You can follow these instructions to install it.
You'll also need Selenium, or a Chrome WebDriver (chromedriver
) that matches your Chrome version.
If you're using chromedriver
directly, you need to run it on port 4444:
chromedriver --port=4444
If you're using Selenium, please follow Thirthyfour's official instructions to run against it.
You can start the automation by running:
cargo run