79320916

Date: 2024-12-31 23:15:00
Score: 2.5
Natty:
Report link

I had a similar situation in which I kept getting the same error as you. I tried all of the same solutions. The only thing that worked was adding launchOptions: { args: ["--ignore-certificate-errors"] } to the individual browser objects. The suggestions in the Playwright docs didn't seem to help.

Full example with Chromium:

// playwright.config.ts

/* Configure projects for major browsers */
  projects: [
    {
      name: "chromium",
      use: {
        ...devices["Desktop Chrome"],
        launchOptions: {
          args: ["--ignore-certificate-errors"],
        },
      },
    },
  ],
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (1):
Posted by: Dave Andrea