Hi, can anyone tell me which command I can use to find a specific text in webpage?
I work in a field that is way different than programming and I have superficial knowledge about it but I have learned and read about many of the commands and made a code that helped me.
But now I am searching for a simple command to find a simple text on any webpage, nothing specific.
I will give an example, this Google webpage, how can I make it search for “Google Search” in it?
I have also tried assertText but sourceSearch was much easier.
My question is that I want to search for a date on a page and I want the code to find it.
Let us say, as in the code above, I am searching for the word “May”, and I want the code to click on it only if it finds one of these [1 May, 2 May or 3 May]. Is it possible to do that? I want to give it a specific range of numbers.