public class LazyDomElement extends Object implements DomElement
| Constructor and Description |
|---|
LazyDomElement(org.openqa.selenium.By selector) |
LazyDomElement(org.openqa.selenium.By selector,
net.codestory.simplelenium.filters.Retry retry) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
click() |
void |
clickAndHold() |
void |
contextClick() |
void |
deselect() |
void |
deselectByIndex(int index) |
void |
deselectByValue(String value) |
void |
deselectByVisibleText(String text) |
void |
doubleClick() |
void |
execute(java.util.function.Consumer<? super org.openqa.selenium.WebElement> action) |
void |
executeActions(String description,
java.util.function.BiConsumer<org.openqa.selenium.WebElement,org.openqa.selenium.interactions.Actions> actionsOnElement) |
void |
executeSelect(String description,
java.util.function.Consumer<org.openqa.selenium.support.ui.Select> selectOnElement) |
void |
fill(CharSequence text) |
LazyDomElement |
first() |
LazyDomElement |
last() |
LazyDomElement |
limit(int max) |
LazyDomElement |
nth(int index) |
void |
pressReturn() |
void |
release() |
LazyDomElement |
retryFor(long duration,
TimeUnit timeUnit) |
LazyDomElement |
second() |
void |
select(String text) |
void |
selectByIndex(int index) |
void |
selectByValue(String value) |
void |
sendKeys(CharSequence... keysToSend) |
Should |
should() |
LazyDomElement |
skip(int count) |
void |
submit() |
LazyDomElement |
third() |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withAttribute(String name) |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withClass() |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withCssValue(String name) |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withId() |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withName() |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withTagName() |
net.codestory.simplelenium.filters.ElementFilterBuilder |
withText() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithClass, withId, withName, withTagName, withTextpublic LazyDomElement(org.openqa.selenium.By selector)
public LazyDomElement(org.openqa.selenium.By selector,
net.codestory.simplelenium.filters.Retry retry)
public net.codestory.simplelenium.filters.ElementFilterBuilder withText()
withText in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withId()
withId in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withName()
withName in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withTagName()
withTagName in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withClass()
withClass in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withAttribute(String name)
withAttribute in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withCssValue(String name)
withCssValue in interface DomElementpublic LazyDomElement first()
first in interface DomElementpublic LazyDomElement second()
second in interface DomElementpublic LazyDomElement third()
third in interface DomElementpublic LazyDomElement nth(int index)
nth in interface DomElementpublic LazyDomElement limit(int max)
limit in interface DomElementpublic LazyDomElement skip(int count)
skip in interface DomElementpublic LazyDomElement last()
last in interface DomElementpublic Should should()
should in interface DomElementpublic void fill(CharSequence text)
fill in interface DomElementpublic void pressReturn()
pressReturn in interface DomElementpublic void sendKeys(CharSequence... keysToSend)
sendKeys in interface DomElementpublic void clear()
clear in interface DomElementpublic void submit()
submit in interface DomElementpublic void click()
click in interface DomElementpublic void doubleClick()
doubleClick in interface DomElementpublic void clickAndHold()
clickAndHold in interface DomElementpublic void contextClick()
contextClick in interface DomElementpublic void release()
release in interface DomElementpublic void executeActions(String description, java.util.function.BiConsumer<org.openqa.selenium.WebElement,org.openqa.selenium.interactions.Actions> actionsOnElement)
executeActions in interface DomElementpublic void select(String text)
select in interface DomElementpublic void deselect()
deselect in interface DomElementpublic void deselectByValue(String value)
deselectByValue in interface DomElementpublic void deselectByVisibleText(String text)
deselectByVisibleText in interface DomElementpublic void deselectByIndex(int index)
deselectByIndex in interface DomElementpublic void selectByIndex(int index)
selectByIndex in interface DomElementpublic void selectByValue(String value)
selectByValue in interface DomElementpublic void executeSelect(String description, java.util.function.Consumer<org.openqa.selenium.support.ui.Select> selectOnElement)
executeSelect in interface DomElementpublic void execute(java.util.function.Consumer<? super org.openqa.selenium.WebElement> action)
execute in interface DomElementpublic LazyDomElement retryFor(long duration, TimeUnit timeUnit)
retryFor in interface DomElementCopyright © 2014. All Rights Reserved.