Useful Commands
- cy.visit(url) - Navigate to a page
- cy.get(selector) - Get DOM elements
- cy.contains(text) - Find elements by text
- cy.request(method, url) - Make an HTTP request
- cy.exec(cmd) - Execute a system command
- cy.log(message) - Print a message to the Cypress Command Log
Cypress Code
To get help, type help and hit the run button.
Or, simply write and run a Cypress command, like cy.get('button').