prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
132 stars 38 forks source link

Is it possible to use the same browser to run the next test? #365

Closed sobi-ki closed 1 year ago

sobi-ki commented 1 year ago

Hi @prashant-ramcharan ,

Is there an easy way to use the same browser for each feature? If you have an example that would be great.

Thank you

prashant-ramcharan commented 1 year ago

Hello,

If you using runLevel = CourgetteRunLevel.FEATURE then you can re-use the same browser for each feature but you cannot use the same browser for multiple features at the same time for obvious reasons.

When using runLevel = CourgetteRunLevel.SCENARIO then each scenario will have to use its own browser.

sobi-ki commented 1 year ago

Thank you for your response.