How Cypress handles the clicks? [duplicate]
This question already has answers here: What is event bubbling and capturing? (11 answers) Closed 13 days ago. This is the HTML code <div> <li class=”tabLblProperties”><a href=”/pw/properties/properties_home.do”>Properties</a></li> </div> The <a> tag is inside the <li> i.e class=”tabLblProperties” but writing the cypress code simply like this cy.get(‘.tabLblProperties’).click() instead of cy.get(‘.tabLblProperties a’).click() I am confused how this […]