Skip to content

Commit

Permalink
Downgrade to 2.X selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewroach committed Dec 24, 2016
1 parent 17805bb commit 5e4a329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions nightwatch.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var seleniumServer = require('selenium-server');
var phantomjs = require('phantomjs-prebuilt')


module.exports = {
"src_folders": ["tests"],
"output_folder": "reports",
Expand All @@ -13,7 +12,7 @@ module.exports = {
"selenium": {
"start_process": true,
"server_path": seleniumServer.path,
"host": '127.0.0.1',
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./bin/drivers/chromedriver",
Expand All @@ -24,16 +23,16 @@ module.exports = {
"test_settings": {
"default": {
"launch_url": "localhost",
"selenium_host": "127.0.0.1",
"selenium_host": "localhost",
"selenium_port": 4444,
"pathname": "/wd/hub",
"silent": true,
"screenshots": {
"enabled": false,
"path": ""
},
"desiredCapabilities": {
"browserName": "chrome",
"marionette": true
"browserName": "chrome"
}
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"devDependencies": {
"nightwatch": "^0.9.11",
"phantomjs-prebuilt": "^2.1.14",
"selenium-server": "^3.0.1"
"selenium-server": "^2.53.0"
}
}

0 comments on commit 5e4a329

Please sign in to comment.