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

Method type

src/com/dtmilano/android/viewclient.py:1319–1326  ·  view source on GitHub ↗
(self, text, alreadyTouched=False)

Source from the content-addressed store, hash-verified

1317 return 'android.widget.EditText'
1318
1319 def type(self, text, alreadyTouched=False):
1320 if not text:
1321 return
1322 if not alreadyTouched:
1323 self.touch()
1324 time.sleep(0.5)
1325 self.device.type(text)
1326 time.sleep(0.5)
1327
1328 def setText(self, text):
1329 """

Calls 2

touchMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected