browser_commander/playwright/mod.rs
1//! Native Playwright client over the official driver.
2//!
3//! [`protocol`] is generated by `scripts/generate-playwright-protocol.mjs`
4//! from Playwright's `protocol.yml` (vendored in `rust/protocol/playwright`):
5//! one typed struct per protocol interface, with a typed method per command
6//! and a typed enum of its events. [`connection`] runs the conversation and
7//! [`driver`] starts `playwright-core`'s `run-driver` through command-stream.
8
9pub mod connection;
10pub mod driver;
11#[rustfmt::skip]
12pub mod protocol;
13pub mod transport;
14
15pub use connection::{Channel, ChannelType, Connection, ObjectRef, ProtocolError, Ref};
16pub use driver::{DriverLocation, DriverOptions, PlaywrightDriver, DRIVER_ENV};