Skip to main content

Cypress Click Multiple Elements

Found multiple elements to be clicked? In cypress, we can do that using curly brackets with the multiple passed inside a click.

We will do this on our autopract site; you can practice here if you want.


    it('Multiple Click',()=>{

        cy.get('label input').click({multiple: true})



cypress click multiple elements

  • So we unchecked the checked checkbox and then tried to check all the boxes using multiple.
  • From the output, we can conclude multiple elements are clicked simultaneously.
Submitted by arilio666 on June 17, 2022

Ashwin is working with iVagus as a Technical Lead. He has experience in various technologies like Cypress, JavaScript, TypeScript, Rest Assured, Selenium, Cucumber, and Java.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.