Cypress allows jQuery to work with DOM elements so this will work for you: cy.get("selector_for_your_button").then($button => { if ...
確定! 回上一頁