Skip to content
masterclass Buddy

Cypress · Method

cy.siblings

Use .siblings() to find sibling DOM elements. Add a selector to filter the results, or options to control logging and timeout.

Last updated

Syntax

.siblings()
.siblings(selector)
.siblings(options)
.siblings(selector, options)

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

Subscribe
  • cy.get()
  • cy.clock()
  • should()

Source: cy.siblings() | Cypress API Documentation. Checked 2026-11-03.