Skip to content
masterclass Buddy

Cypress · Method

cy.select

cy.select() chooses one or more options in a <select> element by value, index, or text. It supports action options such as force, log, and timeout.

Last updated

Syntax

cy.get('select').select(value)
cy.get('select').select(values)
cy.get('select').select(value, options)
cy.get('select').select(values, options)

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

Subscribe
  • .click()
  • Working with Select elements
  • Select2 widgets

Source: select | Cypress Documentation. Checked 2026-11-03.