Skip to content

Instantly share code, notes, and snippets.

@willmendesneto
Created February 15, 2015 12:26
Show Gist options
  • Save willmendesneto/d6d1163b39356e5e103a to your computer and use it in GitHub Desktop.
Save willmendesneto/d6d1163b39356e5e103a to your computer and use it in GitHub Desktop.
An example of protractor configuration
// An example configuration file.
exports.config = {
// Do not start a Selenium Standalone sever - only run this using chrome.
chromeOnly: true,
chromeDriver: './node_modules/protractor/selenium/chromedriver',
seleniumAddress: 'http://0.0.0.0:4444/wd/hub',
baseUrl: 'http://0.0.0.0:9000',
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// Spec patterns are relative to the current working directly when
// protractor is called.
specs: ['test/e2e/**/*_spec.js'],
// Options to be passed to Jasmine-node.
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment