hasText

public Unit hasText(String text)

Checks if element has given text

Parameters

text

Text to be matched