pub async fn activate_target(
host: &str,
port: u16,
target_id: &str,
) -> Result<(), ChromeError>Expand description
Activate a target via Chrome’s /json/activate/{id} endpoint.
This uses the same HTTP server as /json/list, avoiding the cross-protocol
synchronization gap that occurs when using CDP Target.activateTarget
followed by an HTTP /json/list query.
§Errors
Returns ChromeError::HttpError on connection failure.