dequelabs / dequelabs/axe-core

Chrome 128 new headless mode causing issues on consecutive scans

Open
#4,575 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

When Chrome 128 released it introduced a problem with the way we are doing our unit tests. Specifically for our full integration tests dealing with partial runs. What would happen is that after we performed a partial run and then would perform a normal axe run right afterwards, the window height of the page would change and our tests that compare the results would then report not equal (since the height values were different). We believe that Chrome 128 introduces something that changes how the infobar about being controlled by automated tests appears, and that causes problems in our tests.

To fix the problem we ignored the height in the comparison, but the height changing could cause other problems that we may not know about yet. We found that another workaround was to add `--disable-infobars` to the chrome arguments on startup. We might need to create docs around this behavior.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.