You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature enhances the Lighthouse CLI to handle authentication for web pages that require users to log in.
π Motivation
Many web applications have critical pages behind login screens. Currently, the Lighthouse CLI cannot easily audit these pages, leading to incomplete performance assessments.
π Proposed Solution
Implement multiple authentication mechanisms in the Lighthouse CLI to cater to different authentication flows:
--auth-header: Allow users to provide an authentication header (e.g., Authorization: Bearer ) as a command-line argument.
--auth-cookie: Enable users to specify authentication cookies to be included in the requests.
--auth-script: Support a custom script (e.g., a Puppeteer script) that handles the authentication flow programmatically.
β¨ Description
This feature enhances the Lighthouse CLI to handle authentication for web pages that require users to log in.
π Motivation
Many web applications have critical pages behind login screens. Currently, the Lighthouse CLI cannot easily audit these pages, leading to incomplete performance assessments.
π Proposed Solution
Implement multiple authentication mechanisms in the Lighthouse CLI to cater to different authentication flows:
--auth-header
: Allow users to provide an authentication header (e.g., Authorization: Bearer ) as a command-line argument.--auth-cookie
: Enable users to specify authentication cookies to be included in the requests.--auth-script
: Support a custom script (e.g., a Puppeteer script) that handles the authentication flow programmatically.π Relevant Links (if any)
The text was updated successfully, but these errors were encountered: