add chromedriver
This commit is contained in:
parent
345421b682
commit
dabba92680
|
@ -100,9 +100,9 @@
|
||||||
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
|
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
|
||||||
},
|
},
|
||||||
"chromedriver": {
|
"chromedriver": {
|
||||||
"version": "2.36.0",
|
"version": "2.38.3",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-2.36.0.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-2.38.3.tgz",
|
||||||
"integrity": "sha512-Lq2HrigCJ4RVdIdCmchenv1rVrejNSJ7EUCQojycQo12ww3FedQx4nb+GgTdqMhjbOMTqq5+ziaiZlrEN2z1gQ==",
|
"integrity": "sha512-tczy6RHl0LOVA4p+xezcu3NRjr9A1iLyyfjP9yPIUynvV28YSKH/Ll1iw0jMCjN9jwtaB2HB4aPjv0Uuw2VARw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"del": "3.0.0",
|
"del": "3.0.0",
|
||||||
"extract-zip": "1.6.6",
|
"extract-zip": "1.6.6",
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"chromedriver": "^2.38.3",
|
||||||
"ejs": "^2.4.2",
|
"ejs": "^2.4.2",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
|
@ -16,7 +17,6 @@
|
||||||
"rimraf": "^2.5.3",
|
"rimraf": "^2.5.3",
|
||||||
"selenium-server-standalone-jar": "^2.53.1",
|
"selenium-server-standalone-jar": "^2.53.1",
|
||||||
"selenium-webdriver": "^2.53.3",
|
"selenium-webdriver": "^2.53.3",
|
||||||
"superagent": "^1.4.0",
|
"superagent": "^1.4.0"
|
||||||
"chromedriver": "^2.27.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
require('chromedriver');
|
||||||
|
|
||||||
var execSync = require('child_process').execSync,
|
var execSync = require('child_process').execSync,
|
||||||
expect = require('expect.js'),
|
expect = require('expect.js'),
|
||||||
path = require('path'),
|
path = require('path'),
|
||||||
|
|
Loading…
Reference in New Issue