Cypress · Method
cy.check
Checks checkbox or radio inputs. It can target all subject elements or only inputs whose values match the supplied value or values.
Last updated
- Since
- 0.6.12
Syntax
.check() · .check(value) · .check(values) · .check(options) · .check(value, options) · .check(values, options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
.click().uncheck()