Skip to content

Instantly share code, notes, and snippets.

@richardsweeney
Created April 23, 2018 18:47
Show Gist options
  • Save richardsweeney/76a1cab1ba33b3eb35b926c40a444044 to your computer and use it in GitHub Desktop.
Save richardsweeney/76a1cab1ba33b3eb35b926c40a444044 to your computer and use it in GitHub Desktop.
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