Skip to main content

screenshot

Function screenshot 

Source
pub async fn screenshot(
    host: &Host,
    device_id: &str,
    output: &Path,
) -> Result<()>
Expand description

Capture a screenshot from a device.

ยงErrors

Returns an error if the target device cannot be reached or the screenshot command fails.