This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const screen = require('./screen'); | |
const SCREEN_SIZE = { width : 1364, height : 768 }; | |
async function saveScreen(label) { | |
await screen.write('screen-'+Date.now()+'-'+(label || '')+'.png'); | |
} | |
async function createRemoteSession(userName, password, server, rdpScreenSaveInterval=0) { | |
const clientConfig = { | |
autoLogin: true, |