vendredi 31 janvier 2020

trying to use two different text to locate the same element using .withText for different environment

Is this the correct way to find the element using two different texts, since that element has two different texts for two different environments.

.find(div).withText(/text1 || text2/)

Aucun commentaire:

Enregistrer un commentaire