5

I am running e2e tests using Protractor on a VM through azure. I want to run tests on multiple browsers, which Protractor allows me to do by adding a list like this (from the protractor.config file):

multiCapabilities: [
   {'browserName': 'internet explorer'},
   {'browserName': 'chrome'}
]

And I can add more browsers to that list. However, when protractor launches it runs both browsers in parallel, which is great for saving time but I believe it is too much for this VM to handle and is causing some tests to timeout. How can I tell protractor to run the test on each browser I specify in series rather than parallel?

1 Answer 1

3
multiCapabilities: [
  {'browserName': 'internet explorer'},
  {'browserName': 'chrome'}
],

maxSessions: 1,
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.