chromedriver-api-0.1.1 has been yanked.

Chromedriver API (auto clicker)
Introduction:
This API is designed for interacting with chromedriver (browser auto clicker).
Examples:
use chromedriver_api::{ Result, Session };
use tokio::time::{ sleep, Duration };
#[tokio::main]
async fn main() -> Result<()> {
let mut session = Session::run("54477", Some("C:\\Users\\Admin\\AppData\\Local\\Google\\Chrome\\Profiles\\Profile1")).await?;
println!("[INFO]: the session is launched on port [54477] ..");
let first_tab = session.open("https://example.com/").await?;
let mut first_tab = first_tab.lock().await;
println!("[INFO]: a new tab is opened on 'https://example.com/' ..");
sleep(Duration::from_secs(1)).await;
let second_tab = session.open("https://example.com/").await?;
let mut second_tab = second_tab.lock().await;
println!("[INFO]: a new tab is opened on 'https://example.com/' ..");
sleep(Duration::from_secs(1)).await;
first_tab.inject(r#"
alert("Ok!")
"#).await?;
sleep(Duration::from_secs(1)).await;
second_tab.active().await?;
sleep(Duration::from_secs(1)).await;
second_tab.close().await?;
println!("[INFO]: the second tab is closed");
sleep(Duration::from_secs(1)).await;
session.close().await?;
println!("[INFO]: the session is closed");
Ok(())
}
Licensing:
Distributed under the MIT license.
Feedback:
You can contact me via GitHub or send a message to my Telegram @fuderis.
This library is constantly evolving, and I welcome your suggestions and feedback.