lundi 29 octobre 2018

Keep getting an Error when setting up onPrepare in Protractor in configuration file

I am creating my first protractor framework and I am setting up my on prepare in my configuration file.

I keep getting an error X symbol and I can't figure out why.

exports.config = {
seleniumAddress : 'http://localhost:4444/wd/hub',


    specs: ['PageObjectLocator1.js'],

    capabilities: {
        browserName: 'chrome'
      } 

onPrepare =function{

    //place global functions here

}


} 

Here's a screen shot too.

enter image description here

Aucun commentaire:

Enregistrer un commentaire