CSS Selector: Inner text
The inner text is used to identify and create a CSS Selector using a string pattern of the HTML tag which is displayed on the web page.
Syntax of inner text:
css=[HTML tag]<[:][contains][(inner text)]
[:]:- It is used to symbolize contains method.
Contains: It will include the value of a Class attribute.
Text: The text that is displayed anywhere on the web page irrespective of its location.
Inner text is one of the most frequently used locating technique to identify the web element because of the simplified syntax.by