Skip to content

Add the "bypassCSP" configuration #3637

Closed
@dianaDBB

Description

@dianaDBB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions