Skip to main content

Module driver

Module driver 

Source
Expand description

Locating and starting the official Playwright driver.

Every non-JavaScript Playwright binding talks to the same process: playwright-core’s cli.js run-driver, which speaks the protocol in crate::playwright::protocol over its stdin and stdout. The driver is started through command-stream, like the other long-running processes the Rust crate owns.

Structs§

DriverLocation
Where a usable driver lives.
DriverOptions
Options for starting a driver.
PlaywrightDriver
A running playwright run-driver process and its connection.

Constants§

DRIVER_ENV
Environment variable naming the driver: playwright-core’s cli.js, or the playwright-core package directory.