Skip to main content

describe

Function describe 

Source
pub async fn describe(host: &Host, device_id: &str) -> Result<String>
Expand description

Describe UI elements on the screen.

Uses uiautomator dump to get UI hierarchy as XML, then converts to JSON.

ยงErrors

Returns an error if adb is not available or the command fails.