WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Please help, can't run chrome browser #269

@CarbonPool

Description

@CarbonPool

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions