Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Update drivers
Browse files Browse the repository at this point in the history
* Update dependencies

* Run chrome headless
  • Loading branch information
davidjamesstone committed May 19, 2020
1 parent 78880a0 commit 990e552
Show file tree
Hide file tree
Showing 3 changed files with 870 additions and 846 deletions.
15 changes: 6 additions & 9 deletions config/nightwatch.conf.js
@@ -1,6 +1,6 @@
var selenium = require('selenium-server-standalone-jar')
var chromedriver = require('chromedriver')
var phantomjs = require('phantomjs-prebuilt')

// Get the launchUrl from the argv,
// otherwise default to localhost:3000
var url = 'http://localhost:3000/long-term-flood-risk'
Expand Down Expand Up @@ -52,17 +52,14 @@ module.exports = {
chrome: {
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
args: [
'--headless'
]
},
javascriptEnabled: true,
acceptSslCerts: true
}
},
phantomjs: {
desiredCapabilities: {
browserName: 'phantomjs',
javascriptEnabled: true,
acceptSslCerts: true,
'phantomjs.binary.path': phantomjs.path
}
}
}
}

0 comments on commit 990e552

Please sign in to comment.