(self)
| 95 | self.backslash = "\\" |
| 96 | |
| 97 | def get_device_size(self): |
| 98 | adb_command = f"adb -s {self.device} shell wm size" |
| 99 | result = execute_adb(adb_command) |
| 100 | if result != "ERROR": |
| 101 | return map(int, result.split(": ")[1].split("x")) |
| 102 | return 0, 0 |
| 103 | |
| 104 | def get_screenshot(self, prefix, save_dir): |
| 105 | cap_command = f"adb -s {self.device} shell screencap -p " \ |
no test coverage detected