-1

I am trying to achieve parallel test execution in protractor. With the below mentioned code, I can open multiple browser. But only one browser running the spec, rest are just opened.Below is the snippet in config file

capabilities: {
  'browserName': 'chrome',
   'shardTestFiles': true,
   'maxInstances': 3
},
specs: ['Spec1.js',
        'Spec2.js',
        'Spec3.js'
        ],

Any help can be appreciated.

user6264
  • 175
  • 1
  • 7
  • 22

1 Answers1

0

Try adding count to the browser capabilities and maxSessions to the config file

Ray
  • 1,134
  • 10
  • 27