Skip to content
masterclass Buddy

Cypress · Method

cy.submit

Submits a single HTML form directly in Cypress. Chain it from a command that yields a form element.

Last updated

Since
< 0.3.3

Syntax

.submit()
.submit(options)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • .click()
  • .type()

Source: cy.submit(). Checked 2026-11-03.