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

URL not reset after puppeteer script #1087

Open
knownasilya opened this issue Nov 25, 2024 · 0 comments
Open

URL not reset after puppeteer script #1087

knownasilya opened this issue Nov 25, 2024 · 0 comments

Comments

@knownasilya
Copy link

Describe the bug

I'm using cognito and the login is on a different subdomain from the app. After the puppeteer script runs the lighthouse scan happens on the auth.<...> domain instead of the original app.<....> domain because the user isn't initially logged in and gets redirected. After the script logs the user in, the original url isn't used, but the one that was redirected to. Is there a way to rerun the original url after the auth happens? Seems like changing urls in the puppeteer script doesn't change anything on this front.

Environment (please complete the following information):

  • OS: macos
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

1 participant