#cy.autounselectify()
// Read whether every element is unselectable regardless of its own selectable flag
cy.autounselectify(): booleanRead whether every element is unselectable regardless of its own selectable flag. Programmatic select() still applies.
Returns
booleanthe current autounselectify value
#cy.autounselectify(bool)
// Set whether every element is unselectable regardless of its own selectable flag
cy.autounselectify(bool: boolean): thisSet whether every element is unselectable regardless of its own selectable flag. Programmatic select() still applies.
| Name | Description |
|---|---|
bool: boolean | the new setting |
Returns
thisthis core, for chaining
Example
const result = cy.autounselectify(false);console.log(result === cy); // true