Module core

Module core 

Source
Expand description

Core driver implementation. Firefox WebDriver coordinator and factory.

The Driver struct acts as the central coordinator for browser automation. It manages the lifecycle of browser windows.

§Example

use firefox_webdriver::Driver;

let driver = Driver::builder()
    .binary("/usr/bin/firefox")
    .extension("./extension")
    .build()
    .await?;

let window = driver.window().headless().spawn().await?;

Structs§

Driver
Firefox WebDriver coordinator.