Skip to main content

cdp_driver/methods/
mod.rs

1// @generated by `just generate-methods` from protocol/*.json.
2// Do not edit by hand; edit xtask/ and regenerate.
3
4//! CDP method names, one module per protocol domain.
5//!
6//! [`CdpClient::call`](crate::CdpClient::call) takes a method name as a
7//! string. These constants let the editor complete that name and the
8//! compiler reject a typo, and each one carries the protocol's own
9//! description, parameters and return fields as documentation.
10//!
11//! ```no_run
12//! # use cdp_driver::CdpClient;
13//! use cdp_driver::methods::target;
14//! # use serde_json::json;
15//!
16//! # async fn run(client: &CdpClient) -> cdp_driver::Result<()> {
17//! let created = client
18//!     .call_raw(target::CREATE_TARGET, json!({ "url": "about:blank" }))
19//!     .await?;
20//! # Ok(())
21//! # }
22//! ```
23
24pub mod accessibility;
25pub mod ads;
26pub mod animation;
27pub mod audits;
28pub mod autofill;
29pub mod background_service;
30pub mod bluetooth_emulation;
31pub mod browser;
32pub mod cache_storage;
33pub mod cast;
34pub mod console;
35pub mod crash_report_context;
36pub mod css;
37pub mod debugger;
38pub mod device_access;
39pub mod device_orientation;
40pub mod digital_credentials;
41pub mod dom;
42pub mod dom_debugger;
43pub mod dom_snapshot;
44pub mod dom_storage;
45pub mod emulation;
46pub mod event_breakpoints;
47pub mod extensions;
48pub mod fed_cm;
49pub mod fetch;
50pub mod file_system;
51pub mod headless_experimental;
52pub mod heap_profiler;
53pub mod indexed_db;
54pub mod input;
55pub mod inspector;
56pub mod io;
57pub mod layer_tree;
58pub mod log;
59pub mod media;
60pub mod memory;
61pub mod network;
62pub mod overlay;
63pub mod page;
64pub mod performance;
65pub mod performance_timeline;
66pub mod preload;
67pub mod profiler;
68pub mod pwa;
69pub mod runtime;
70pub mod schema;
71pub mod security;
72pub mod service_worker;
73pub mod smart_card_emulation;
74pub mod storage;
75pub mod system_info;
76pub mod target;
77pub mod tethering;
78pub mod tracing;
79pub mod web_audio;
80pub mod web_authn;
81pub mod web_mcp;