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, toStringpublic Text(String expectedText)
expectedText - text we're looking forpublic boolean isTrue(ConditionRunner.Context context)
Copyright © 2016. All rights reserved.