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(String id) 

Source Link

Usage

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

License:Mozilla Public License

@Then("The concept should get created with a success message")
public void theConceptShouldGetCreated() {
    assertPresenceOf(Finders.div("openmrs_msg").with(text(equalTo("Concept saved successfully"))));
}

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

License:Mozilla Public License

@Then("The concept should get saved with a success message")
public void theConceptShouldGetCreated() {
    waitAndAssertFor(Finders.div("openmrs_msg").with(text(equalTo("Concept saved successfully"))));
}