Selector playground doesn't correctly escape colon char in selector suggestion #27258
Labels
pkg/driver
This is due to an issue in the packages/driver directory
stage: awaiting external fix
A 3rd party bug in Cypress - awaiting release
stale
no activity on this issue for a long period
topic: selector playground 🚸
type: bug
Current behavior
Similar issue to #3902
Results:
Suggested selector is:
cy.get(':nth-child(1) > .full-width-bg__inner > .xl\:col-start-2 > .h4')
Screenshot:
Desired behavior
The colon should be double escaped to work:
cy.get(':nth-child(1) > .full-width-bg__inner > .xl\\:col-start-2 > .h4')
Test code to reproduce
Cypress Version
12.16.0
Node version
v19.7.0
Operating System
macOS 13.3.1 (a)
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: