Skip to content

Starts downloading Firefox instead of using one present in the system. #8

@malaire

Description

@malaire

I tried following code on Debian 13. It immediately starts downloading Firefox instead of using the one already present in the system.

How can I disable auto-download? Program should NEVER download something implicitly.
How can I make this use the installed Firefox?

[dependencies]
anyhow = "1.0.102"
rustenium = "1.1.10"
tokio = { version = "1", features = [ "full" ] }
use anyhow::Result;
use rustenium::browsers::{BidiBrowser, firefox};

#[tokio::main]
async fn main() -> Result<()> {
    let mut browser = firefox(None).await;
    browser.navigate("https://markuslaire.com").await?;
    browser.screenshot().await?;
    browser.close().await?;
    Ok(())
}

EDIT: I tried also with chrome - same problem.

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