List of usage examples for org.openqa.selenium.lift Matchers attribute
public static org.hamcrest.Matcher<org.openqa.selenium.WebElement> attribute(java.lang.String attributeName, org.hamcrest.Matcher<java.lang.String> valueMatcher)
From source file:org.openmrs.steps.EditLocationSteps.java
License:Mozilla Public License
@When("I unretire the location") public void unretireLocation() { clickOn(button().with(Matchers.attribute("name", equalTo("unretireLocation")))); }