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

spectron

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spectron - npm Package Compare versions

Comparing version 0.37.0 to 1.37.0

8

CHANGELOG.md

@@ -0,1 +1,9 @@

# 1.37.0
* Upgraded to WebdriverIO 4.0.4
* Added a `connectionRetryCount` config option to `Application` that sets the
default number of connection retries to make to ChromeDriver.
* Added a `connectionRetryTimeout` config option to `Application` that sets
the default number of milliseconds to wait when connecting to ChromeDriver.
# 0.36.1

@@ -2,0 +10,0 @@

4

lib/application.js

@@ -14,2 +14,4 @@ var ChromeDriver = require('./chrome-driver')

this.waitTimeout = parseInt(options.waitTimeout, 10) || 5000
this.connectionRetryCount = parseInt(options.connectionRetryCount, 10) || 10
this.connectionRetryTimeout = parseInt(options.connectionRetryTimeout, 10) || 30000
this.nodePath = options.nodePath || process.execPath

@@ -97,2 +99,4 @@

waitforTimeout: self.waitTimeout,
connectionRetryCount: self.connectionRetryCount,
connectionRetryTimeout: self.connectionRetryTimeout,
desiredCapabilities: {

@@ -99,0 +103,0 @@ browserName: 'electron',

6

package.json
{
"name": "spectron",
"version": "0.37.0",
"version": "1.37.0",
"description": "Easy ChromeDriver tests for Electron apps",

@@ -33,3 +33,3 @@ "main": "index.js",

"split": "^1.0.0",
"webdriverio": "^3.2.6"
"webdriverio": "^4.0.4"
},

@@ -39,3 +39,3 @@ "devDependencies": {

"chai-as-promised": "^5.1.0",
"electron-prebuilt": "^0.36.0",
"electron-prebuilt": "^0.37.2",
"mocha": "^2.3.3",

@@ -42,0 +42,0 @@ "standard": "^5.3.1",

@@ -218,2 +218,6 @@ # spectron

Defaults to `process.execPath`.
* `connectionRetryCount` - Number of retry attempts to make when connecting
to ChromeDriver. Defaults to `10` attempts.
* `connectionRetryTimeout` - Number in milliseconds to wait for connections
to ChromeDriver to be made. Defaults to `30000` milliseconds.
* `quitTimeout` - Number in milliseconds to wait for application quitting.

@@ -220,0 +224,0 @@ Defaults to `1000` milliseconds.

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