Cypress - Element Interactions
Identify the error in this Cypress code snippet:
cy.get('input[type="checkbox"]').uncheck('option1')cy.get('input[type="checkbox"]').uncheck('option1')uncheck() for checkboxes does not take arguments unless used with multiple checkboxes and values.
Passing 'option1' as argument is invalid here and causes error.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions