Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function SeleniumTunnel(kwArgs) {
Evented.apply(this, arguments);
for (var key in kwArgs) {
Object.defineProperty(this, key, Object.getOwnPropertyDescriptor(kwArgs, key));
}
this.architecture = process.arch;
this.auth = null;
this.directory = testsVarDir;
this.executable = seleniumFilename;
this.hostname = 'localhost';
this.pathname = '/wd/hub';
this.platform = process.platform;
this.port = 4444;
this.protocol = 'http';
this.proxy = null;
this.tunnelId = null;
this.url = seleniumDownloadUrl;