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

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

Introduction

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

Prototype

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

Source Link

Usage

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

License:Mozilla Public License

@When("I search for a concept by typing $aspirin and wait for the search hits")
public void searchForAConceptAndWaitForTheHits(String phrase) {
    HtmlTagFinder conceptName = textbox().with(attribute("id", equalTo("inputNode")));
    waitFor(conceptName);//w  w  w.  j a  va2s  . com
    type(phrase, into(conceptName));
    waitFor(Finders.table().with(attribute("id", equalTo("openmrsSearchTable"))));
}