How to use equals instead of Contains xpath Selenium IDE?

Sample Code for Contains condition:

[contains(text(), "Test")]

Sample Code for Equals condition:

[text() = 'Test']

We have to use equal to (=) operator for Equals Condition in Selenium IDE.


No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit