Selenium CSS Selector #4 – CSS Selector Substring MatchingNishant Sharma
In this Selenium CSS Selector tutorial we will learn how to identify webelements using sub-string matches in Selenium.
Sub-string matches are very helpful in identifying dynamic webelements with the help of partial string matches.
The 3 important special characters in css sub-string selectors are:
‘^’ Sign – Signify’s the prefix of the text
‘$’ Sign – Signify’s the suffix of the text
‘*’ Sign – Signify’s the sub-string of the text