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

Add the "bypassCSP" configuration #3637

Closed
dianaDBB opened this issue Apr 13, 2023 · 0 comments · Fixed by #3641
Closed

Add the "bypassCSP" configuration #3637

dianaDBB opened this issue Apr 13, 2023 · 0 comments · Fixed by #3641

Comments

@dianaDBB
Copy link

What are you trying to achieve?

Be able to set up the bypassCSP Playwright configuration on the codecept.conf.js file.

For example:

  helpers: {
    Playwright: {
      bypassCSP: true
    }

What do you get instead?

The configuration bypassCSP is not available.

Workaround

Before each test, do I.restartBrowser({ bypassCSP: true });.
Another possible solution would be to start the browser manually, but that is not working (issue #3329)

Details

  • CodeceptJS version: 3.3.6
  • Playwright version: 1.18
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant