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

Save Screenshot feature now done on server side since the client-side way doesn't work in all browsers.

This commit is contained in:
Gunther Brunner 2014-10-01 17:56:25 +09:00
parent cd92078043
commit 0a67c8c272

View file

@ -44,7 +44,7 @@ module.exports = function deviceContextMenuDirective($window) {
scope.saveScreenShot = function () {
scope.control.screenshot().then(function (result) {
saveToDisk(result.body.href, result.body.date + '.jpg')
location.href = result.body.href + '?download'
})
}