Install webdriver io in script/package.json

So that we can control chromedriver without including that dependency in the final bundle.
This commit is contained in:
Antonio Scandurra 2016-08-11 13:09:24 +02:00
parent ff9fb6edce
commit 6bd9d1e4be
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@
"semver": "5.3.0",
"sync-request": "3.0.1",
"tello": "1.0.5",
"yargs": "4.8.1"
"yargs": "4.8.1",
"webdriverio": "2.4.5"
}
}

View File

@ -6,7 +6,7 @@ remote = require 'remote'
async = require 'async'
{map, extend, once, difference} = require 'underscore-plus'
{spawn, spawnSync} = require 'child_process'
webdriverio = require '../../../build/node_modules/webdriverio'
webdriverio = require '../../../script/node_modules/webdriverio'
AtomPath = remote.process.argv[0]
AtomLauncherPath = path.join(__dirname, "..", "helpers", "atom-launcher.sh")