mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Wait after paste.
This commit is contained in:
parent
ba5d245c53
commit
f1f32f29a7
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ module.exports = syrup.serial()
|
||||||
|
|
||||||
plugin.paste = function(text) {
|
plugin.paste = function(text) {
|
||||||
return plugin.setClipboard(text)
|
return plugin.setClipboard(text)
|
||||||
|
.delay(500) // Give it a little bit of time to settle.
|
||||||
.then(function() {
|
.then(function() {
|
||||||
keyEvent({
|
keyEvent({
|
||||||
event: apk.wire.KeyEvent.PRESS
|
event: apk.wire.KeyEvent.PRESS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue