MCPcopy
hub / github.com/TencentQQGYLab/AppAgent / tap

Method tap

scripts/and_controller.py:137–140  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

135 return ret
136
137 def tap(self, x, y):
138 adb_command = f"adb -s {self.device} shell input tap {x} {y}"
139 ret = execute_adb(adb_command)
140 return ret
141
142 def text(self, input_str):
143 input_str = input_str.replace(" ", "%s")

Callers 3

task_executor.pyFile · 0.80
step_recorder.pyFile · 0.80
self_explorer.pyFile · 0.80

Calls 1

execute_adbFunction · 0.85

Tested by

no test coverage detected