viewpoint-cdp
Low-level Chrome DevTools Protocol (CDP) implementation over WebSocket for Rust.
This crate provides the foundational CDP communication layer for the Viewpoint browser automation framework.
Features
- WebSocket-based CDP connection
- Async message sending and receiving
- Event subscription support
- Protocol domain implementations (Page, Runtime, Network, Input, Target)
Usage
This crate is primarily used internally by viewpoint-core. For browser automation, use viewpoint-test instead.
use ;
// Connect to a running Chrome instance
let connection = new.await?;
// Send CDP commands
let result = connection.send.await?;
License
MIT