So we can achieve that using the eq method. Moreover, below will be our cypress command. cy.get('input').eq(1).should('contain', 'Cucumber').
確定! 回上一頁