dequelabs / axe-core-npm

Mozilla Public License 2.0
577 stars 65 forks source link

fix: get correct new window handle with Selenium 3 workaround #1031

Closed scottmries closed 3 months ago

scottmries commented 3 months ago

This is the workaround fix that supports Selenium 3 and 4. We would likely switch to #1027 should we drop Selenium 3 support. Rather than always using the last handle after opening a new window, we filter for the unique new handle and use it. This is analogous to the axe-core-maven-html approach.

Closes: #936

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.