Class IsWindowPresentMatcher
- java.lang.Object
-
- ru.tinkoff.qa.neptune.core.api.steps.SelfDescribed
-
- ru.tinkoff.qa.neptune.core.api.hamcrest.NeptuneFeatureMatcher<Window>
-
- ru.tinkoff.qa.neptune.selenium.hamcrest.matchers.window.IsWindowPresentMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<Window>
,org.hamcrest.SelfDescribing
public final class IsWindowPresentMatcher extends NeptuneFeatureMatcher<Window>
-
-
Field Summary
-
Fields inherited from class ru.tinkoff.qa.neptune.core.api.hamcrest.NeptuneFeatureMatcher
expectedTypes, isNullSafe, mismatchDescriptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
featureMatches(Window toMatch)
static IsWindowPresentMatcher
windowIsPresent()
Creates an instance of a matcher that checks presence of a window.-
Methods inherited from class ru.tinkoff.qa.neptune.core.api.hamcrest.NeptuneFeatureMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, appendMismatchDescription, appendMismatchDescription, appendMismatchDescription, checkFeature, concatMatcherDescriptions, concatMatcherDescriptions, describeMismatch, describeTo, matches, prerequisiteChecking
-
Methods inherited from class ru.tinkoff.qa.neptune.core.api.steps.SelfDescribed
toString
-
-
-
-
Method Detail
-
windowIsPresent
public static IsWindowPresentMatcher windowIsPresent()
Creates an instance of a matcher that checks presence of a window.- Returns:
- a new instance of
IsWindowPresentMatcher
-
featureMatches
protected boolean featureMatches(Window toMatch)
- Specified by:
featureMatches
in classNeptuneFeatureMatcher<Window>
-
-