Ulyssedev / Rust-undetected-chromedriver

A rust implementation of ultrafunkamsterdam's undetected-chromedriver library based on thirtyfour
https://crates.io/crates/undetected-chromedriver
MIT License
33 stars 20 forks source link

Where does std::path::Path("chromedriver") check? #9

Open bceballos opened 2 months ago

bceballos commented 2 months ago

Very much a non issue but I'm confused as to where it's checking for chromedriver as it doesn't seem to be detecting it when it's installed in the regular chrome folder and neither in the same folder as the .rs file.

itehax commented 2 months ago

Very much a non issue but I'm confused as to where it's checking for chromedriver as it doesn't seem to be detecting it when it's installed in the regular chrome folder and neither in the same folder as the .rs file.

Have you managed to sort it out?

mur1chan commented 2 months ago

Very much a non issue but I'm confused as to where it's checking for chromedriver as it doesn't seem to be detecting it when it's installed in the regular chrome folder and neither in the same folder as the .rs file.

Have you managed to sort it out?

i have the same issue. chrome is installed

ChromeDriver does not exist! Fetching... Getting installed Chrome version... thread 'main' panicked at /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba1 5001f/undetected-chromedriver-0.1.2/src/lib.rs:18:43: calledResult::unwrap()on anErrvalue: Os { code: 2, kind: NotFound, message: "No such file or directory" } note: run withRUST_BACKTRACE=1environment variable to display a backtrace

itehax commented 2 months ago

It's an error in the download step..it's open a pr to fix that but apparently the owner of the repo forgot about that. To fix that at the moment,if you want to use the crate,download manually chromedriver and place it in the project directory.