Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wct-local

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wct-local - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

25

lib/selenium.js

@@ -45,2 +45,7 @@ /**

var log = [];
function onOutput(data) {
var message = data.toString();
log.push(message);
wct.emit('log:debug', message);
}

@@ -57,9 +62,2 @@ var config = {

// If there is an error, we want to be able to give the user all sorts
// of useful output.
function onOutput(data) {
var message = data.toString();
log.push(message);
wct.emit('log:debug', message);
}
server.stdout.on('data', onOutput);

@@ -70,3 +68,4 @@ server.stderr.on('data', onOutput);

selenium.start(config, function(error) {
// Ensure that we have the latest version downloaded.
selenium.install({logger: onOutput}, function(error) {
if (error) {

@@ -76,4 +75,10 @@ log.forEach(function(line) { wct.emit('log:info', line) });

}
wct.emit('log:info', 'Selenium server running on port', chalk.yellow(port));
done(null, port);
selenium.start(config, function(error) {
if (error) {
log.forEach(function(line) { wct.emit('log:info', line) });
return done(error);
}
wct.emit('log:info', 'Selenium server running on port', chalk.yellow(port));
done(null, port);
});
});

@@ -80,0 +85,0 @@ });

2

package.json
{
"name": "wct-local",
"version": "1.4.0",
"version": "1.4.1",
"description": "WCT plugin that enables support for local browsers via Selenium",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc