|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.webdriver.utils.Check
public final class Check
Utilities for doing simple checks on a page.
| Method Summary | |
|---|---|
static boolean |
elementExists(org.openqa.selenium.By by,
org.openqa.selenium.SearchContext el)
Checks that an element that matches the by param exists within another element. |
static boolean |
elementIsVisible(org.openqa.selenium.By by,
org.openqa.selenium.SearchContext context)
|
static boolean |
elementsAreVisible(org.openqa.selenium.By by,
org.openqa.selenium.SearchContext context)
|
static boolean |
hasClass(String className,
org.openqa.selenium.WebElement element)
Checks to see if a specified element contains a specific class of not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean elementExists(org.openqa.selenium.By by,
org.openqa.selenium.SearchContext el)
public static boolean elementIsVisible(org.openqa.selenium.By by,
org.openqa.selenium.SearchContext context)
public static boolean elementsAreVisible(org.openqa.selenium.By by,
org.openqa.selenium.SearchContext context)
public static boolean hasClass(String className,
org.openqa.selenium.WebElement element)
className - CSS class name to check forelement - element to check
true, if element has CSS class with given className
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||