Skip to content

Ability to start without initial environment #424

Closed
@creage

Description

@creage

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions