Created
April 23, 2018 18:47
-
-
Save richardsweeney/76a1cab1ba33b3eb35b926c40a444044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const seleniumServer = require("selenium-server"); | |
const chromedriver = require("chromedriver"); | |
module.exports = { | |
"src_folders": [ | |
"tests/e2e" // Change this to the directory where your test are | |
], | |
"output_folder": "./reports", // the directory for your rest reports | |
"selenium": { | |
"start_process": true, | |
"server_path": seleniumServer.path, | |
"host": "127.0.0.1", | |
"port": 4444, // selenium usually runs on 4444 | |
"cli_args": { | |
"webdriver.chrome.driver" : chromedriver.path // There are multiple drivers you can use, eg gecko or IE | |
} | |
}, | |
"test_settings": { | |
"default": { | |
"globals": { | |
"waitForConditionTimeout": 5000 | |
}, | |
"desiredCapabilities": { | |
"browserName": "chrome" | |
} | |
}, | |
"chrome": { | |
"desiredCapabilities": { | |
"browserName": "chrome", | |
"javascriptEnabled": true | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment