MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / click

Method click

src/com/dtmilano/android/viewclient.py:4120–4130  ·  view source on GitHub ↗

An alias for touch. :param x: x coordinate :param y: y coordinate :param selector: the selector, could be ``None`` :return: the result of the operation

(self, x=-1, y=-1, selector=None)

Source from the content-addressed store, hash-verified

4118 return None
4119
4120 def click(self, x=-1, y=-1, selector=None):
4121 """
4122 An alias for touch.
4123
4124 :param x: x coordinate
4125 :param y: y coordinate
4126 :param selector: the selector, could be ``None``
4127 :return: the result of the operation
4128 """
4129
4130 self.touch(x=x, y=y, selector=selector)
4131
4132 def touch(self, x=-1, y=-1, selector=None):
4133 if self.uiAutomatorHelper:

Callers 9

touchPointMethod · 0.45
touchMethod · 0.45
longTouchMethod · 0.45
touchMethod · 0.45
testClick_randomMethod · 0.45
test_clickFunction · 0.45
testSomethingMethod · 0.45

Calls 1

touchMethod · 0.95

Tested by 3

testClick_randomMethod · 0.36
test_clickFunction · 0.36