cdp-driver 0.5.0

Chrome DevTools Protocol (CDP) client for Rust: every command, event and type generated from the schema, with sessions, for browser automation and AI agents
Documentation
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.

//! Provides access to log entries.
//!
//! Method names for the `Log` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).

/// Clears the log.
pub const CLEAR: &str = "Log.clear";

/// Disables log domain, prevents further log entries from being reported to
/// the client.
pub const DISABLE: &str = "Log.disable";

/// Enables log domain, sends the entries collected so far to the client by
/// means of the `entryAdded` notification.
pub const ENABLE: &str = "Log.enable";

/// start violation reporting.
///
/// Parameters:
/// - `config`: array
pub const START_VIOLATIONS_REPORT: &str = "Log.startViolationsReport";

/// Stop violation reporting.
pub const STOP_VIOLATIONS_REPORT: &str = "Log.stopViolationsReport";