Description
Is your feature request related to a problem? Please describe.
In our tests we need to run browsers with different NTLM credentials, and these credentials are defined in the tests body.
We are running special NTLM proxy for every different user. To run a browser using proxy setup, we are using jestPlaywright._configSeparateEnv()
with launchOptions.proxy.server
. It works fine in general, but, we have a redundant initial browser opening on each test, as defined in jest-playwright
's setup method.
Describe the solution you'd like
We'd like to have an option to skip the initial environment creation, letting us to control this. Also, the method _configSeparateEnv
should be public (without the _
).
Describe alternatives you've considered
We can close this initial context manually, but it still will take time to launch and to close, adding to the total run time, which in our case is significant.