Skip to main content

resolve_target

Function resolve_target 

Source
pub async fn resolve_target(
    host: &str,
    port: u16,
    tab: Option<&str>,
) -> Result<TargetInfo, AppError>
Expand description

Resolve the target tab from the --tab option by querying Chrome for targets.

ยงErrors

Returns AppError if targets cannot be queried or the specified tab is not found.