mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Refactor InputAgent into STFService. Support copypasting (only pasting implemented in the UI right now though).
This commit is contained in:
parent
514fc3554d
commit
09eb8c539d
13 changed files with 379 additions and 50 deletions
|
@ -86,7 +86,7 @@ module.exports = function DeviceScreenDirective($document, ScalingService) {
|
|||
|
||||
function pasteListener(e) {
|
||||
e.preventDefault() // no need to change value
|
||||
scope.control.type(e.clipboardData.getData('text/plain'))
|
||||
scope.control.paste(e.clipboardData.getData('text/plain'))
|
||||
}
|
||||
|
||||
function maybeLoadScreen() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue