This reduces the number of globals and allows to configure more options dynamically.
This file encapsulate everything specific to playwright testing. Now the general test.js can be reused for other projects.