How do I limit the number of workers in a Playwright Java project?

30 Views Asked by At

I now have a large number of tests that I don't want to run all in parallel, but only a certain number that has yet to be determined. How do I set this in Playwright Java?

1

There are 1 best solutions below

0
Michael S. On

I have already found out for myself. It works via Maven by setting the parameter forkCount in the pom.xml to the desired value.