MCPcopy Create free account
hub / github.com/Tencent/FAutoTest / clickFirstElementByText

Method clickFirstElementByText

fastAutoTest/core/h5/h5Engine.py:170–174  ·  view source on GitHub ↗

通过text来搜索,点击第一个text相符合的控件。参数同clickElementByXpath()

(self, text, visibleItemXpath=None, duration=50, tapCount=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

XcqDemo.pyFile · 0.45
QQDemo.pyFile · 0.45
H5Demo.pyFile · 0.45

Calls 1

clickElementByXpathMethod · 0.95

Tested by

no test coverage detected