-
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: failed to inject axe-core into frame #98
Comments
Ran test with multiple websites with iframes and I can not replicate the issue. Closing this issue, will reopen if this becomes an issue again. |
@michael-siek We're experiencing this currently on WordPress/gutenberg with an iframe. We tried configuring axe tests to exclude the element (WordPress/gutenberg#26527), but that doesn't seem to work.
It's only intermittently failing, I believe the iframe in question is removed from the DOM as a result of the interaction during the test, so potentially Axe is trying to still inject into a no longer existent element? |
As a side-note, when browsing the code I noticed there is a That seems to do what this issue originally proposed. I wonder why it's undocumented 🤔 |
Tested on the testpage
And tested with "disableFrame" -
|
Closing issue resolved |
It looks like there is still no way to prevent axe from injecting into certain iframes
dequelabs/axe-puppeteer#25
The text was updated successfully, but these errors were encountered: