Comparing version 3.6.3 to 3.6.4
@@ -25,2 +25,3 @@ var Accessibility = require('./accessibility') | ||
this.args = options.args || [] | ||
this.chromeDriverArgs = options.chromeDriverArgs || [] | ||
this.env = options.env || {} | ||
@@ -104,2 +105,3 @@ this.workingDirectory = options.cwd || process.cwd() | ||
args: this.args, | ||
chromeDriverArgs: this.chromeDriverArgs, | ||
env: this.env, | ||
@@ -149,2 +151,6 @@ workingDirectory: this.workingDirectory, | ||
self.chromeDriverArgs.forEach(function (arg) { | ||
args.push(arg) | ||
}) | ||
var launcherPath = null | ||
@@ -151,0 +157,0 @@ if (process.platform === 'win32') { |
@@ -103,7 +103,11 @@ // Type definitions for spectron v3.6.0 | ||
/** | ||
* Array of arguments to pass to the executable. | ||
* Array of arguments to pass to the Electron application. | ||
*/ | ||
args?:string[], | ||
/** | ||
* Array of arguments to pass to ChromeDriver. | ||
* See here (https://sites.google.com/a/chromium.org/chromedriver/capabilities) for details | ||
* on the Chrome arguments. | ||
*/ | ||
args?:string[], | ||
chromeDriverArgs?:string[], | ||
/** | ||
@@ -110,0 +114,0 @@ * Object of additional environment variables to set in the launched application. |
{ | ||
"name": "spectron", | ||
"version": "3.6.3", | ||
"version": "3.6.4", | ||
"description": "Easily test your Electron apps using ChromeDriver and WebdriverIO.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -77,5 +77,5 @@ # <img src="https://cloud.githubusercontent.com/assets/378023/15063284/cf544f2c-1383-11e6-9336-e13bd64b1694.png" width="60px" align="center" alt="Spectron icon"> Spectron | ||
array. | ||
* `args` - Array of arguments to pass to the executable. | ||
See [here](https://sites.google.com/a/chromium.org/chromedriver/capabilities) | ||
for details on the Chrome arguments. | ||
* `args` - Array of arguments to pass to the Electron application. | ||
* `chromeDriverArgs` - Array of arguments to pass to ChromeDriver. | ||
See [here](https://sites.google.com/a/chromium.org/chromedriver/capabilities) for details on the Chrome arguments. | ||
* `cwd`- String path to the working directory to use for the launched | ||
@@ -82,0 +82,0 @@ application. Defaults to `process.cwd()`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1926926
3410