-
Notifications
You must be signed in to change notification settings - Fork 68
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
Puppeteer hangs when page has lazy loaded iframe #727
Comments
This was referenced Jun 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a page has an iframe with
loading="lazy"
attribute and that has not been scrolled into view, Puppeteer will hang indefinitely if you try to interact with a non-loaded iframe (e.g. usingframe.$$(selector)
never throws nor completes). What that means is if you try to scan a page with such an iframe the analyze will never finish (e.g. https://www.rastoder.si/).We should inform the user that the iframe isn't loaded and skip it like we do when we can't inject axe into the iframe.
The text was updated successfully, but these errors were encountered: