Skip to content

Adding a cookie to the request #133

@arishoham

Description

@arishoham

I need to add a cookie to the page request when lighthouse runs, I tried using extraHeaders in lighthouserc.json like so, but it seems to have no effect. Is there another way to accomplish this?

{
  "ci": {
    "collect": {
      "settings": {
        "chromeFlags": "--no-sandbox --no-zygote --headless --ignore-certificate-errors --disable-dev-shm-usage --max-wait-for-load=30000",
        "extraHeaders": "{\"Cookie\": \"foo=true\"}",
      }
    }
  }
}

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