1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! Typed CDP: the protocol's own types, one parameters and one result
//! struct per command, and one payload struct per event.
//!
//! Send a command with [`CdpClient::send`](crate::CdpClient::send), which
//! reads the method name and the result type off the parameters it is
//! handed, so the two cannot be mismatched. Decode an event with
//! [`typed::decode`](crate::typed::decode) or
//! [`SessionEvent::decode`](crate::SessionEvent::decode).
//!
//! ```no_run
//! # use cdp_driver::CdpClient;
//! use cdp_driver::protocol::target;
//!
//! # async fn run(client: &CdpClient) -> cdp_driver::Result<()> {
//! let created = client
//! .send(target::CreateTargetParams {
//! url: "about:blank".to_string(),
//! ..Default::default()
//! })
//! .await?;
//! println!("{}", created.target_id);
//! # Ok(())
//! # }
//! ```
// Schema prose is reflowed to fit a doc comment, so a line that happens to
// begin with a dash is not the list item this lint takes it for.
#![allow(clippy::doc_lazy_continuation)]
pub mod accessibility;
pub mod ads;
pub mod animation;
pub mod audits;
pub mod autofill;
pub mod background_service;
pub mod bluetooth_emulation;
pub mod browser;
pub mod cache_storage;
pub mod cast;
pub mod console;
pub mod crash_report_context;
pub mod css;
pub mod debugger;
pub mod device_access;
pub mod device_orientation;
pub mod digital_credentials;
pub mod dom;
pub mod dom_debugger;
pub mod dom_snapshot;
pub mod dom_storage;
pub mod emulation;
pub mod event_breakpoints;
pub mod extensions;
pub mod fed_cm;
pub mod fetch;
pub mod file_system;
pub mod find_in_page;
pub mod headless_experimental;
pub mod heap_profiler;
pub mod indexed_db;
pub mod input;
pub mod inspector;
pub mod io;
pub mod layer_tree;
pub mod log;
pub mod media;
pub mod memory;
pub mod network;
pub mod overlay;
pub mod page;
pub mod performance;
pub mod performance_timeline;
pub mod preload;
pub mod profiler;
pub mod pwa;
pub mod runtime;
pub mod schema;
pub mod security;
pub mod service_worker;
pub mod smart_card_emulation;
pub mod storage;
pub mod system_info;
pub mod target;
pub mod tethering;
pub mod tracing;
pub mod web_audio;
pub mod web_authn;
pub mod web_mcp;