Uploaded May 2025 | Updated November 2026, 5 hours ago
This video shows a Cypress E2E test that checks multiple "link" elements
- the `rel` attribute value should be restricted to certain values
- the `crossorigin` attribute should always equal to `anonymous`
- the `href` value should be a valid URL
Find the full source code at glebbahmutov.com/cypress-examples
This video shows a Cypress E2E test that checks multiple "link" elements
- the `rel` attribute value should be restricted to certain values
- the `crossorigin` attribute should always equal to `anonymous`
- the `href` value should be a valid URL
Find the full source code at glebbahmutov.com/cypress-examples










![Find Elements Without An Attribute
This video shows how to find all the elements that do not have a specific attribute. For example, lets find all buttons that dont have attribute data-cy
cy.get(button:not([data-cy]))
Find the recipe at https://glebbahmutov.com/cypress-examples Find Elements Without An Attribute](https://i.ytimg.com/vi/52KW-t2wWaE/mqdefault.jpg)