|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.HtmlElement
public class HtmlElement
A wrapper to add functionality to WebElement.
The class allows to look within the WebElement by
polling every 100 milliseconds to see if the elements if found.
| Constructor Summary | |
|---|---|
HtmlElement(org.openqa.selenium.WebElement webElement,
WebDrone drone)
Constructor. |
|
| Method Summary | |
|---|---|
org.openqa.selenium.WebElement |
findAndWait(org.openqa.selenium.By by)
Helper method to find a WebElement with a time limit in
milliseconds. |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by)
Wrapper to WebElement findElement. |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by)
Wrapper to WebElement findElements. |
String |
getAttribute(String attType)
Wrapper to WebElement get attribute value of web element. |
WebDrone |
getDrone()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlElement(org.openqa.selenium.WebElement webElement,
WebDrone drone)
webElement - WebElement| Method Detail |
|---|
public WebDrone getDrone()
public org.openqa.selenium.WebElement findAndWait(org.openqa.selenium.By by)
WebElement with a time limit in
milliseconds. During the wait period it will check for the element every
100 millisecond.
by - By criteria to search bymillisecond - time limit
WebElement HTML elementpublic String getAttribute(String attType)
WebElement get attribute value of web element.
attType - String html attribute class, id or name
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
WebElement findElement.
By - by selector type.
WebElement html elementpublic List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
WebElement findElements.
By - by selector type.
WebElement html element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||