Text

This method is used to assert the text of an element.


Syntax :

S.Assert.Text("data").In("locator");