(self, v: View, root=None)
| 929 | self.printOperation(None, Operation.SAY_TEXT, text) |
| 930 | |
| 931 | def touchView(self, v: View, root=None) -> None: |
| 932 | # FIXME: v.touch() handles the 2 cases for CulebraTester2-public and adbclient/vc |
| 933 | # also, we should obtain the selector only once |
| 934 | v.touch() |
| 935 | if v.uiAutomatorHelper: |
| 936 | self.printOperation(v, Operation.TOUCH_VIEW_UI_AUTOMATOR_HELPER, v.obtain_selector()) |
| 937 | else: |
| 938 | # we pass root=v as an argument so the corresponding findView*() searches in this |
| 939 | # subtree instead of the full tree |
| 940 | self.printOperation(v, Operation.TOUCH_VIEW, root) |
| 941 | |
| 942 | def touchPoint(self, x, y): |
| 943 | """ |
no test coverage detected