Skip to content
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

Using old electron version results in Failed to execute 'matches' on 'Element': ':autofill' is not a valid selector. #27393

Closed
yuwu9145 opened this issue Jul 26, 2023 · 2 comments
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.

Comments

@yuwu9145
Copy link

yuwu9145 commented Jul 26, 2023

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

@nagash77
Copy link
Contributor

Hi @yuwu9145 , thank you for submitting this ticket. We are currently working through an electron upgrade for Cypress. Unfortunately I do not have an estimated release date but we will be sure to update this ticket when it is out.

@nagash77 nagash77 added Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. E2E Issue related to end-to-end testing labels Jul 26, 2023
@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Sep 13, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

4 participants