Example usage for org.openqa.selenium.lift Finders div

List of usage examples for org.openqa.selenium.lift Finders div

Introduction

In this page you can find the example usage for org.openqa.selenium.lift Finders div.

Prototype

public static org.openqa.selenium.lift.find.HtmlTagFinder div() 

Source Link

Usage

From source file:org.openmrs.steps.UpdatePersonAttributesSteps.java

License:Mozilla Public License

@Then("display message $message")
public void displayMessageIs(String message) {
    assertPresenceOf(// w ww. ja  va2  s.co  m
            Finders.div().with(attribute("id", equalTo("openmrs_msg"))).with(text(containsString(message))));

}