Example usage for org.openqa.selenium.lift.find Finder with

List of usage examples for org.openqa.selenium.lift.find Finder with

Introduction

In this page you can find the example usage for org.openqa.selenium.lift.find Finder with.

Prototype

Finder<S, T> with(Matcher<S> textMatcher);

Source Link

Usage

From source file:org.openmrs.Steps.java

License:Mozilla Public License

protected void assertSelected(Finder<WebElement, WebDriver> finder) {
    assertPresenceOf(finder.with(selection()));
}

From source file:org.openmrs.Steps.java

License:Mozilla Public License

protected void assertNotSelected(Finder<WebElement, WebDriver> finder) {
    assertPresenceOf(exactly(0), finder.with(selection()));
}