# Cypress Examples
Static site with Cypress examples tested right from the Markdown sources
# Commands
Commands drive your tests in the browser like a real user would. They let you perform actions like typing, clicking, xhr requests, and can also assert things like "my button should be disabled".
- Querying
- Traversal
- Actions
- Viewport
- Location
- Window
- Assertions
- Navigation
- Aliasing
- Waiting
- Misc
- Connectors
- Network Requests
- Local Storage
- Files
- Cookies
- Spies, Stubs & Clocks
# Utilities
Utilities give you access to methods from other commonly used libraries.
# Cypress API
The Cypress API enables you to configure the behavior of how Cypress works internally. You can do things like access Environment Variables, change configuration, create custom commands, and more.
# Recipes
- Checking the length of the list after adding an item
- CSS examples
- Iterate over elements using
.each
command - Non-breaking space
- Checking a dynamic property added to the
window
object - Get input element by its label by writing a custom command
- Set nested property inside the environment object when using Cypress.env
- Find element by exact class and text
- Assert the selected value or multiple values in a
<select>
element - Select an item by id
- Get the inner text of a list of elements
- Conditional testing
- Form input validation
- Retry-ability examples
- Get multiple fields at once
- Find an object in the array
- Wait for data to be set
- Return value from .within() command
- Confirm an attribute of an element
- Update table row with retries