(&self, id: &str)
| 346 | } |
| 347 | |
| 348 | pub fn screenshot_png(&self, id: &str) -> Result<Vec<u8>, AppError> { |
| 349 | let serial = self.serial_for_id(id)?; |
| 350 | self.run_adb_bytes(["-s", &serial, "exec-out", "screencap", "-p"]) |
| 351 | } |
| 352 | |
| 353 | pub fn install_app(&self, id: &str, app_path: &str) -> Result<(), AppError> { |
| 354 | if !app_path.ends_with(".apk") { |
nothing calls this directly
no test coverage detected