I downloaded the corresponding version of chromedriver and ran this command
.\chromedriver.exe --port=4444
Refer to the example, my code is as follows, but there is no startup response.
use fantoccini::{ClientBuilder, Locator};
fn main() {
start();
}
async fn start() {
let c = ClientBuilder::native().connect("http://localhost:4444").await.expect("failed to connect to WebDriver");
c.goto("https://www.google.com").await.unwrap();
}
It's impossible to debug this without information about what errors you got and what else actually happened. Could you include some information about the output you've gotten as well?
I downloaded the corresponding version of chromedriver and ran this command
.\chromedriver.exe --port=4444
Refer to the example, my code is as follows, but there is no startup response.