pub async fn text(host: &Host, device_id: &str, input: &str) -> Result<()>Expand description
Input text on an Android device.
Uses adb shell input text "<string>" to type text.
Note: Special characters may need escaping.
ยงErrors
Returns an error if the text input command fails or the device is not available.