Skip to main content

ensure_started

Function ensure_started 

Source
pub async fn ensure_started(
    browser: Option<String>,
    headless: bool,
    no_wait: bool,
    wait_timeout: u64,
) -> Result<StartResult>
Expand description

Ensure a browser of the requested kind is running and registered.

This is the programmatic form of browser-control start: it reuses the most recent live registry row for the selected kind, otherwise launches a new browser with the same default profile semantics as the CLI command.