MCPcopy Create free account
hub / github.com/aeroxy/chrome-devtools-cli / send

Method send

src/cdp.rs:455–457  ·  view source on GitHub ↗

Send a browser-level CDP command.

(&mut self, method: &str, params: Value)

Source from the content-addressed store, hash-verified

453
454 /// Send a browser-level CDP command.
455 pub async fn send(&mut self, method: &str, params: Value) -> Result<Value> {
456 self.send_raw(method, params, None).await
457 }
458
459 /// Send a page-level CDP command (with session ID from attach_to_target).
460 pub async fn send_to_target(

Callers 10

send_raw_no_waitMethod · 0.45
get_page_targetsMethod · 0.45
get_all_targetsMethod · 0.45
attach_to_targetMethod · 0.45
detach_from_targetMethod · 0.45
activate_targetMethod · 0.45
create_targetMethod · 0.45
close_targetMethod · 0.45

Calls 1

send_rawMethod · 0.80

Tested by

no test coverage detected