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

wdio-selenium-standalone-service

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-selenium-standalone-service - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

44

build/launcher.js

@@ -13,2 +13,6 @@ 'use strict';

var _util = require('util');
var _util2 = _interopRequireDefault(_util);
var _fsExtra = require('fs-extra');

@@ -47,19 +51,11 @@

this.logToStdout = config.logToStdout;
this.skipSeleniumInstall = !!config.skipSeleniumInstall;
return this._installSeleniumDependencies(this.seleniumInstallArgs).then(function () {
return new Promise(function (resolve, reject) {
return _seleniumStandalone2.default.start(_this.seleniumArgs, function (err, process) {
if (err) {
return reject(err);
}
if (!this.skipSeleniumInstall) {
return _util2.default.promisify(_seleniumStandalone2.default.install)(this.seleniumInstallArgs).then(function () {
return _this._startSelenium(_this.seleniumArgs);
});
}
_this.process = process;
if (typeof _this.seleniumLogs === 'string') {
_this._redirectLogStream();
}
resolve();
});
});
});
return this._startSelenium(this.seleniumArgs);
}

@@ -74,12 +70,12 @@ }, {

}, {
key: '_installSeleniumDependencies',
value: function _installSeleniumDependencies(seleniumInstallArgs) {
return new Promise(function (resolve, reject) {
return _seleniumStandalone2.default.install(seleniumInstallArgs, function (err) {
if (err) {
return reject(err);
}
key: '_startSelenium',
value: function _startSelenium(seleniumArgs) {
var _this2 = this;
resolve();
});
return _util2.default.promisify(_seleniumStandalone2.default.start)(seleniumArgs).then(function (process) {
_this2.process = process;
if (typeof _this2.seleniumLogs === 'string') {
_this2._redirectLogStream();
}
});

@@ -86,0 +82,0 @@ }

{
"name": "wdio-selenium-standalone-service",
"version": "0.0.11",
"version": "0.0.12",
"description": "WebdriverIO service to start & stop Selenium Standalone",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,3 +13,3 @@ WDIO Selenium Standalone Service [![Code Climate](https://codeclimate.com/github/webdriverio/wdio-selenium-standalone-service/badges/gpa.svg)](https://codeclimate.com/github/webdriverio/wdio-selenium-standalone-service) [![Build Status](https://travis-ci.org/webdriverio/wdio-selenium-standalone-service.svg?branch=master)](https://travis-ci.org/webdriverio/wdio-selenium-standalone-service)

"devDependencies": {
"wdio-selenium-standalone-service": "~0.0.11"
"wdio-selenium-standalone-service": "~0.0.12"
}

@@ -71,4 +71,11 @@ }

### skipSeleniumInstall
Boolean for skipping `selenium-standalone` server install.
Type: `Boolean`
Default: `false`
----
For more information on WebdriverIO see the [homepage](http://webdriver.io).
For more information on WebdriverIO see the [homepage](http://webdriver.io).
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