Using old electron version results in Failed to execute 'matches' on 'Element': ':autofill' is not a valid selector. #27393
Labels
browser: electron
E2E
Issue related to end-to-end testing
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
Current behavior
Run
document.documentElement.matches(':autofill')
in electron V106 console, get error:VM29:1 Uncaught DOMException: Failed to execute 'matches' on 'Element': ':autofill' is not a valid selector.
But it works in chrome
Desired behavior
No error
Test code to reproduce
Run
document.documentElement.matches(':autofill')
in electron V106 console, get error:VM29:1 Uncaught DOMException: Failed to execute 'matches' on 'Element': ':autofill' is not a valid selector.
But it works in chrome
Cypress Version
12.17.2
Node version
v16.19.0
Operating System
Windows 11 Business 22621.1848
Debug Logs
No response
Other
Probably upgrading electron to new versions could resolve the issue, I tried Electron Fiddle with Electron v25.2.0 no issue
The text was updated successfully, but these errors were encountered: