-
Notifications
You must be signed in to change notification settings - Fork 74
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
Unable to pass params to Lighthouse when using an external configuration #150
Comments
Any update on this issue. |
Commands aren't documented well, but use the following flags in the config file --
Trying to decipher how to set cookies now. |
@jbelew Had any luck in setting cookies? |
disableStorageReset:True might help. @jbelew Is that correct? |
@jbelew @santoshjoseph99 were you able to set your cookies for auth pages and get that to work?? Set up my config something like this but it routes to login:
|
I had a similar issue with trying to login and use an http only cookie. I had a puppeteer script to login first. The trick is that you need to set the |
@chrisrink then I don't require having to set cookies through the params. Isn't this a bug then? |
I think maybe the underlying issue is that we expect Lines 86 to 87 in f8a784f
However, If indeed the expectation is to merge these flags, it's a bug. I believe it's a relatively straightforward fix, and will submit a PR shortly. |
Config / CLI options
Steps to reproduce.
Using either combo --
pwmetrics doesn't pass the parameters to Lighthouse. Same behavior occurs using either JSON or JavaScript configuration files. Without a '--config=' argument, parameters are passed successfully.
Environment
pwmetrics
version: 3.1.4The text was updated successfully, but these errors were encountered: