public final class ElementProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static ElementProperty |
hasChildren |
static ElementProperty |
hasNoChildren |
static ElementProperty |
hasSomeText |
static ElementProperty |
isHidden |
static ElementProperty |
isLast |
static ElementProperty |
isOnlyChild |
public static final ElementProperty isLast
public static final ElementProperty hasNoChildren
public static final ElementProperty hasChildren
public static final ElementProperty isOnlyChild
public static ElementProperty isHidden
public static ElementProperty hasSomeText
public static ElementProperty hasNChildren(Integer n)
public static ElementProperty isNthFromLastSibling(Integer reverseIndex)
public static ElementProperty isNthSibling(Integer index)
public static ElementProperty withIndexInRange(int first, int last)
public static ElementProperty rawXpathProperty(String rawXpathProps, String rawExplanation)
public static ElementProperty hasText(String txt)
public static ElementProperty hasId(String id)
public static ElementProperty hasName(String name)
public static ElementProperty hasAttribute(String attribute, String value)
public static ElementProperty hasAnyOfClasses(String... cssClasses)
public static ElementProperty hasClasses(String... cssClasses)
public static ElementProperty hasNonOfTheClasses(String... cssClasses)
public static ElementProperty withIndex(Integer index)
public static ElementProperty hasTextContaining(String txt)
public static ElementProperty hasClass(String className)
public static ElementProperty hasAggregatedTextEqualTo(String txt)
public static ElementProperty hasAggregatedTextContaining(String txt)
public static ElementProperty isChildOf(Path path)
public static ElementProperty hasParent(Path path)
public static ElementProperty isParentOf(Path... paths)
public static ElementProperty hasChild(Path... paths)
public static ElementProperty contains(Path... paths)
public static ElementProperty isAncestorOf(Path... webElements)
public static ElementProperty hasDescendant(Path... path)
public static ElementProperty hasAncesctor(Path path)
public static ElementProperty isDescendantOf(Path path)
public static ElementProperty isInside(Path path)
public static ElementProperty isContainedIn(Path path)
public static ElementProperty isAfter(Path... paths)
public static ElementProperty isBefore(Path... paths)
public static ElementProperty isSiblingOf(Path... paths)
public static ElementProperty isAfterSibling(Path... paths)
public static ElementProperty isBeforeSibling(Path... paths)
public static ElementProperty not(ElementProperty prop)
Copyright © 2016. All rights reserved.