ferridriver 0.3.0

Browser automation in Rust with a Playwright-compatible API. Four pluggable backends: CDP pipe, CDP WebSocket, Playwright WebKit, Firefox BiDi.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Wire-level protocol types shared with Playwright.
//!
//! The sub-modules mirror `/tmp/playwright/packages/playwright-core/src/protocol/`
//! and `/tmp/playwright/packages/protocol/src/channels.d.ts` on the Rust side so
//! that `page.evaluate(fn, arg)`, `JSHandle`, and `ElementHandle` can round-trip
//! rich JS values (`NaN` / ±`Infinity` / `Date` / `RegExp` / `URL` / `BigInt` /
//! `Map` / `Set` / `Error` / typed arrays) across the CDP / `BiDi` / `WebKit`
//! boundary the same way Playwright's own client does.

pub mod serializers;

pub use serializers::{
  ArrayBufferValue, ErrorValue, HandleId, PropertyEntry, RegExpValue, SerializationContext, SerializedArgument,
  SerializedValue, SpecialValue, TypedArrayKind, TypedArrayValue,
};