Skip to content

Instantly share code, notes, and snippets.

@straris
straris / uploadLocalFile.js
Last active April 18, 2022 07:51 — forked from Bunk/uploadLocalFile.js
Nightwatch — Upload local files to remote selenium grid
const path = require('path');
const util = require('util');
const events = require('events');
const archiver = require('archiver');
function uploadLocalFile() {
events.EventEmitter.call(this);
}
util.inherits(uploadLocalFile, events.EventEmitter);
/**