输入文本
(self, text)
| 138 | self._device.press("home") |
| 139 | |
| 140 | def input_text(self, text): |
| 141 | """输入文本""" |
| 142 | if self.device_type == 'hmdriver2': |
| 143 | self._device.input_text(text) |
| 144 | else: |
| 145 | self._device.send_keys(text) |
| 146 | |
| 147 | def clear_text(self): |
| 148 | """清除文本""" |
no outgoing calls
no test coverage detected