Where is the Pointer (Path locator) in the v15.0.0 ? #32445
Replies: 1 comment 2 replies
-
Hi @theoBourelakos! You are correct, you're not missing it! That feature known as the Selector Playground was officially removed from the Cypress Test Runner starting in version 13.0.0. The main reason for its removal was that modern browsers' built-in developer tools have become extremely powerful and offer the same (or even better) functionality. The Recommended Alternative: Use Browser DevTools The current best practice is to use your browser's own DevTools to find selectors. It's quick and very effective. Here's how to do it in Chrome (or any Chromium browser like Edge):
Now you have a CSS selector for that element copied to your clipboard, ready to be pasted into your cy.get() command. For more robust tests, the Cypress team also recommends adding data-* attributes (like data-cy) to your elements so your tests don't break if the CSS changes. Hope this helps clear things up!
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I cant locate the path locator. It was at the left of the url (chrome icon) but now its not there.
Beta Was this translation helpful? Give feedback.
All reactions