You can find the index of a DOM element among its siblings. For example, to confirm that the "Age" column is the third column of the table, you can invoke the jQuery "index" method and confirm the yielded value
cy.contains('table thead th', 'Age')
.invoke('index')
.should('equal', 3)
Find this example and many more at https://glebbahmutov.com/cypress-exam...
Sur cette page du site, vous pouvez voir la vidéo en ligne Find Table Column Index durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur gleb bahmutov 05 juin 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 689 fois et il a aimé 22 téléspectateurs. Bon visionnage!