The page I am trying to test has multiple buttons with text Order
on it. I am trying to fetch all these buttons and loop though them.
I can't use cy.get('button).contains('Order')
as it will only return the first button. Is there a way to do this?
Any help appreciated.
Aucun commentaire:
Enregistrer un commentaire