Check If Element Text Is One Of The Possible Strings

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

"hey everyone"
Gleb said it!
Match regex is a god send

Migtex
Автор

I love these quick tips&tricks, I'm still developing myself in Cypress but I find it fascinating and want to find a job with that technology 0___0'

Konqer
Автор

Hello I am currently trying to learn cypress, I have this problem.
I'm using this to get an element's value

cy.log(epoch)
})


I need to click the button again when the value reaches "000, 300", not sure how to do this
Need to store the variable somehow and make a loop that waits for the value, also not sure on how to specify that i want number instead of string with invoke 'val'/text

hannya