Posts by Paulo Toledo • 1 point
1 post
-
0
votes1
answer728
viewsA: How to get the value of a text with Cypress?
Try to use it that way: cy.get('elemento').invoke('text').then(($value) => { cy.log($value) }) If you want to compare 2 values: cy.get('elemento_1').invoke('text').then(($value_1) => {…
cypressanswered Paulo Toledo 1