Skip to content

ignoreHTTPSerrors true not working when trying to open a browser session with npx playwright-cli. #220

@HonzaZamecnik

Description

@HonzaZamecnik

It works when the package is installed globally and you run: playwright-cli
When installed as dev dependency and ran via npx it doesn't work

PLAYWRIGHT_MCP_IGNORE_HTTPS_ERRORS=true npx playwright-cli open https://localhost/US/en --headed

Error

Error

Error: page.goto: net::ERR_CERT_AUTHORITY_INVALID at https://localhost/US/en
Call log:

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