1

I'm running some end-to-end tests on my website. I want to do these tests in both Chrome and Firefox, so I've configured the configuration file with multicapabilities: [{browserName: 'chrome'}, {browserName: 'firefox'}]. But when running the tests the two browser instances interfere with each other because sometimes Chrome does an action with will fail the Firefox tests.

My question: Is it possible to not run the two browser instances in parallel? Instead I first want Chrome to do the tests, then when Chrome is finished, Firefox should start. Is this possible?

Bilesh Ganguly
  • 3,792
  • 3
  • 36
  • 58
Olov
  • 1,103
  • 11
  • 27

1 Answers1

1

You can do MaxSessions = 1 in you config file. This limits the number of browser instances that can run in parallel. Beautifully explained in this post on StackOverflow. Please let me know if this helps!

Community
  • 1
  • 1
Sakshi Singla
  • 2,462
  • 1
  • 18
  • 34