-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a cookie to the request #133
Comments
You could also try to use a puppeteer script for this like
|
I was able to send a cookie value using lighthouserc.json. In a non-prod environment, we check for the presence of a certain cookie and a value to allow access to the website. The code below allowed lighthouse to do the scans. If it had no effect, I also would double check in the Github Actions workflow that the config path to the json file is set up:
|
I need to add a cookie to the page request when lighthouse runs, I tried using
extraHeaders
inlighthouserc.json
like so, but it seems to have no effect. Is there another way to accomplish this?The text was updated successfully, but these errors were encountered: