public class HtmlElement extends Object
WebElement.
The class allows to look within the WebElement by
polling every 100 milliseconds to see if the elements if found.| Constructor and Description |
|---|
HtmlElement(org.openqa.selenium.WebElement webElement)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findAndWait(org.openqa.selenium.By by)
Helper method to find a
WebElement with a time limit in
milliseconds. |
public HtmlElement(org.openqa.selenium.WebElement webElement)
webElement - WebElementpublic 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 limitWebElement HTML elementCopyright © 2013. All Rights Reserved.