Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support incognito browser context #133

Closed
gregberge opened this issue Sep 23, 2018 · 1 comment
Closed

Support incognito browser context #133

gregberge opened this issue Sep 23, 2018 · 1 comment

Comments

@gregberge
Copy link
Member

As suggested in #81 and as started in #83, we should support incognito browser context.

Technical detail

Add browserContext in configuration and default to default context.

@jacobweber
Copy link

If anyone else is trying to do this in the current version (where this change hasn't been released yet), you can extend the environment, following the instructions in the Readme, and then add to the setup method:

await super.setup();
this.global.context = await this.global.browser.createIncognitoBrowserContext();
this.global.page = await this.global.context.newPage();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants