[Feature] Option to append cookies to the requests
kuba-orlik opened this issue · comments
Kuba Orlik commented
🚀 Feature request
Description
An optional --cookie
flag that would let the user append a cookie header to the request that Webhint makes to the provided URL.
Details
I want to test a page that's only available to logged in users. I get the session cookie within a mocha test and would like then to analyse the logged-in view with webhint
Antón Molleda commented
Are you using the puppeteer connector? If so this might help:
https://webhint.io/docs/user-guide/connectors/connector-puppeteer/#website-authentication
Kuba Orlik commented
Thanks. I'm using the jsdom
connector