|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.gui.web.selenium.selenium2.ZIndexSupport
public class ZIndexSupport
Performs z-index calculations with Selenium 2. author Marcel Malitz
Constructor Summary | |
---|---|
ZIndexSupport(org.openqa.selenium.WebDriver driver)
|
Method Summary | |
---|---|
int |
getCurrentZIndex(org.openqa.selenium.WebElement element)
To get the z-index (defined in the attribute "style") for the operated element. |
int |
getMaxZIndex()
To get the biggest value of z-index for all of the elements on current page. |
boolean |
isInForeground(org.openqa.selenium.WebElement element)
Checks if a element is blocked by a modal dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZIndexSupport(org.openqa.selenium.WebDriver driver)
Method Detail |
---|
public boolean isInForeground(org.openqa.selenium.WebElement element)
public int getCurrentZIndex(org.openqa.selenium.WebElement element)
element
- The element to check.
public int getMaxZIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |