text: const SUPPORTED_BROWSERS = [
    // based on free plan with BrowserStack
    'chrome',
    'firefox',
    'ie'
  ]
  
  exports.config = {
    framework: 'mocha',
    seleniumAddress: 'http://hub-cloud.browserstack.com/wd/hub',
    specs: [ 'test-all.js' ],
    commonCapabilities: {
      'browserstack.user': process.env.BROWSERSTACK_USERNAME,
      'browserstack.key': process.env.BROWSERSTACK_ACCESS_KEY,
      build: 'protractor-browserstack',
      'browserstack.debug': true,
      'browserstack.local': true,
      'browserstack.localIdentifier': process.env.BROWSERSTACK_LOCAL_IDENTIFIER
    },
    multiCapabilities: SUPPORTED_BROWSERS.map(browserName => ({ browserName }))
  }
  
  exports.config.multiCapabilities.forEach(caps => {
    Object.keys(exports.config.commonCapabilities).forEach(key => {
      caps[key] = caps[key] || exports.config.commonCapabilities[key]
    })
  })