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\"}",
}
}
}
}
I need to add a cookie to the page request when lighthouse runs, I tried using
extraHeadersinlighthouserc.jsonlike 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\"}", } } } }