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();
}