public class HasAttribute extends SelectorSamplerMatcher<String>
Constructor and Description |
---|
HasAttribute(String attributeName,
org.hamcrest.Matcher<String> matcher)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected String |
getAttributeName() |
static org.hamcrest.Matcher<Selector> |
hasAttribute(String name,
org.hamcrest.Matcher<String> matcher)
Is element defined by selector visible
|
protected void |
setAttributeName(String attributeName) |
describeMismatchSafely, describeSelector, getSamplerClass, getSamplerParams, map, setSamplerClass, setSamplerParams
getSelector, getSelectorName, matchesSafely, setSelector
getInternalMatcher, setInternalMatcher
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
describeTo
in class SelectorSamplerMatcher<String>
protected String getAttributeName()
protected void setAttributeName(String attributeName)
Copyright © 2017–2022 wcm.io QA. All rights reserved.