Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help, can't run chrome browser #269

Open
CarbonPool opened this issue Aug 13, 2024 · 1 comment
Open

Please help, can't run chrome browser #269

CarbonPool opened this issue Aug 13, 2024 · 1 comment

Comments

@CarbonPool
Copy link

CarbonPool commented Aug 13, 2024

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();
}
@jonhoo
Copy link
Owner

jonhoo commented Aug 18, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants