Cypress uses CSS Selector to identify browser elements.
If you are coming from Selenium or Protractor background, then you must be familiar with locator strategy CSS Selector.
Cypress exposes get() method to identify browser elements.
cy.get(selector)
or
cy.get(selector, options)
You can refer to below link to get all the CSS Selector syntaxes or patterns.
All these above syntaxes are demonstrated below –
Hope this helps!