Example usage for org.openqa.selenium.lift Matchers attribute

List of usage examples for org.openqa.selenium.lift Matchers attribute

Introduction

In this page you can find the example usage for org.openqa.selenium.lift Matchers attribute.

Prototype

public static org.hamcrest.Matcher<org.openqa.selenium.WebElement> attribute(java.lang.String attributeName,
            org.hamcrest.Matcher<java.lang.String> valueMatcher) 

Source Link

Usage

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"))));
}