Cy.prompt - Experimental Release
Released Released on February 28, 2026
Our newest experimental command is now available: cy.prompt(). Cypress will translate this into test steps, execute them, and adapt as the application under test changes (similar to self-healing behavior). It lets you write tests using natural language prompts, like:
cy.prompt([
`Visit https://aicotravel.com`,
`Type Paris in "where do you want to go"`,
`Click on the first result`,
`Click on the number of day picker`,
`Click on 4 days`,
`Press the Create Itinerary Button`
])