Protractor Conf

Getting started all you must have in the config to get started is...

//protractor.conf.js
exports.config = {
  specs: ['spec.js']
};

Although this is enough to get started lets add a few more things to the config. We can touch on the specifics of them more in depth later.

//protractor.conf.js
exports.config = {
  specs: ['spec.js'],

  directConnect: true, //chrome only

  capabilities: {
    'browserName': 'chrome'
  },

  jasmineNodeOpts: {},

  onPrepare: function() {}
};

results matching ""

    No results matching ""