public class Text extends Condition
Constructor and Description |
---|
Text(java.lang.String expectedText)
Look for text anywhere on the page.
|
Text(java.lang.String expectedText,
java.lang.String locator)
Look for text inside a given locator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTrue(ConditionRunner.Context context) |
getMessage, toString
public Text(java.lang.String expectedText)
expectedText
- text we're looking forpublic Text(java.lang.String expectedText, java.lang.String locator)
expectedText
- text we're looking forlocator
- Selenium locatorpublic boolean isTrue(ConditionRunner.Context context)