dequelabs / axe-core-maven-html

Tools for using axe for web accessibility testing with JUnit, Selenium, and Playwright
Mozilla Public License 2.0
81 stars 102 forks source link

fix(selenium): apply Selenium 3 and 4 workaround for `switchTo()` when using Safari Driver #412

Closed Zidious closed 9 months ago

Zidious commented 9 months ago

This is the backwards compatible Selenium 3 workaround instead of https://github.com/dequelabs/axe-core-maven-html/pull/392. We will try out best to switch to the about blank tab now, instead of assuming it is always the last handle in the list.

Added test coverage to the file as it was missing.

Closes: https://github.com/dequelabs/axe-core-maven-html/issues/391