Skip to content
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

getting connecttion refused when using playwright-lighthouse with url #42

Open
lakshbhutani1 opened this issue Feb 6, 2023 · 1 comment

Comments

@lakshbhutani1
Copy link

lakshbhutani1 commented Feb 6, 2023

getting connecttion refused when using playwright-lighthouse with ur in playAudit({url: 'someAuthenticatedurl'})
Error: connect ECONNREFUSED 127.0.0.1:53938

@lakshbhutani1 lakshbhutani1 changed the title Insert auth state in persistentcontext getting connecttion refused when using playwright-lighthouse with url Feb 6, 2023
@andrew-hossack
Copy link

andrew-hossack commented Aug 22, 2023

Make sure you are setting a debugging port in playwright config under defineConfig:

use: {
    /* Start browser in debug port mode; allows lighthouse access to the browser port */
    launchOptions: {
        args: ['--remote-debugging-port=9222'],
    },
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants