1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Wait after paste.

This commit is contained in:
Simo Kinnunen 2014-12-02 19:54:30 +09:00
parent ba5d245c53
commit f1f32f29a7

View file

@ -310,6 +310,7 @@ module.exports = syrup.serial()
plugin.paste = function(text) {
return plugin.setClipboard(text)
.delay(500) // Give it a little bit of time to settle.
.then(function() {
keyEvent({
event: apk.wire.KeyEvent.PRESS