mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Fix pasting not triggering Ctrl+V.
This commit is contained in:
parent
372208c105
commit
ad3386a606
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ module.exports = syrup.serial()
|
||||||
return plugin.setClipboard(text)
|
return plugin.setClipboard(text)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
keyEvent({
|
keyEvent({
|
||||||
event: apk.wire.MessageType.DO_PRESS
|
event: apk.wire.KeyEvent.PRESS
|
||||||
, keyCode: adb.Keycode.KEYCODE_V
|
, keyCode: adb.Keycode.KEYCODE_V
|
||||||
, ctrlKey: true
|
, ctrlKey: true
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue