Architecture
Core layers
Section titled “Core layers”- CDP transport owns request/response correlation and event dispatch.
- Evaluation serializes JavaScript execution and supports queued or non-blocking modes.
- Navigation manages page state, URL/title tracking, and readiness waits.
- DOM resolves element positions, active element state, and wait logic.
- Input sends keyboard, mouse, scroll, and resize actions.
- Media handles screenshots and clipped captures.
- Lifecycle starts, attaches to, and closes browser processes.
Design goal
Section titled “Design goal”The public ChromeWebView class stays stable while the internals remain composable. That keeps existing scripts working while making the lower-level modules easier to document, test, and reuse.