1
0
Fork 0
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:
Simo Kinnunen 2014-04-01 11:47:20 +09:00
parent 514fc3554d
commit 09eb8c539d
13 changed files with 379 additions and 50 deletions

View file

@ -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() {