public class Text extends Condition
Constructor and Description |
---|
Text(String expectedText)
Look for text anywhere on the page.
|
Text(String expectedText,
String locator)
Look for text inside a given locator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTrue(ConditionRunner.Context context) |
getMessage, toString
public Text(String expectedText)
expectedText
- text we're looking forpublic boolean isTrue(ConditionRunner.Context context)
Copyright © 2015. All rights reserved.