Skip to content

midorishibukawa/rust-webdriver_auto-gate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-gate

A web automation project made with Rust and the Thirtyfour Selenium/WebDriver library.

About

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 server
  • tokio: to provide asynchronous functionalities
  • csv: to provide csv parsing with serde support
  • serde: to provide deserialization of CSV data into Rust structs
  • serde_json: to translate the JSON options file into Rust structs

Requirements

Rust Toolchain

To run the program, you'll need the standard Rust toolchain, including rustup, rustc, and cargo.

You can follow these instructions to install it.

Selenium or a standalone Chrome WebDriver

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.

Usage

You can start the automation by running:

cargo run

About

A web automation project made with Rust's thirtyfour crate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages