Answers for "cypress how to click in top right of screen"

2

cypress click

cy.get('.btn').click()          // Click on button
cy.focused().click()            // Click on el with focus
cy.contains('Welcome').click()  // Click on first el containing 'Welcome'
//https://docs.cypress.io/api/commands/click.html
Posted by: Guest on September-03-2020

Browse Popular Code Answers by Language