Your shopping cart is empty!
Since the days of DOS, we have been using globbing. What is globbing? Remember the days you were searching files in DOS by using the command *.doc or De*.doc and so on. This is where you have used globs. So let’s see how Selenium supports globbing.
Globbing in Selennium is possible with the following set of characters
i) * (asterisk)
ii) ? (question mark)
iii) [ ] (square brackets)
Suppose we want to find/ search for the text “region” or “regional”, then we could use it as reg* . In Selenium, that would mean the following