public class LazyDomElement extends Object implements DomElement
baseUrl| 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 |
|---|---|
LazyDomElement |
clear() |
LazyDomElement |
click() |
LazyDomElement |
click(int x,
int y) |
LazyDomElement |
clickAndHold() |
LazyDomElement |
contextClick() |
LazyDomElement |
deselect() |
LazyDomElement |
deselectByIndex(int index) |
LazyDomElement |
deselectByValue(String value) |
LazyDomElement |
deselectByVisibleText(String text) |
LazyDomElement |
doubleClick() |
LazyDomElement |
doubleClick(int x,
int y) |
LazyDomElement |
execute(java.util.function.Consumer<? super org.openqa.selenium.WebElement> action) |
LazyDomElement |
executeActions(String description,
java.util.function.BiConsumer<org.openqa.selenium.WebElement,org.openqa.selenium.interactions.Actions> actionsOnElement) |
LazyDomElement |
executeSelect(String description,
java.util.function.Consumer<org.openqa.selenium.support.ui.Select> selectOnElement) |
LazyDomElement |
fill(CharSequence text) |
LazyDomElement |
filter(String description,
java.util.function.UnaryOperator<java.util.stream.Stream<org.openqa.selenium.WebElement>> filter) |
LazyDomElement |
first() |
LazyDomElement |
last() |
LazyDomElement |
limit(int max) |
LazyDomElement |
nth(int index) |
LazyDomElement |
pressReturn() |
LazyDomElement |
release() |
LazyDomElement |
retryFor(long duration,
TimeUnit timeUnit) |
LazyDomElement |
second() |
LazyDomElement |
select(String text) |
LazyDomElement |
selectByIndex(int index) |
LazyDomElement |
selectByValue(String value) |
LazyDomElement |
sendKeys(CharSequence... keysToSend) |
Should |
should() |
LazyDomElement |
skip(int count) |
LazyDomElement |
submit() |
LazyDomElement |
third() |
net.codestory.simplelenium.filters.ElementFilterBuilder |
with(String description,
java.util.function.Function<org.openqa.selenium.WebElement,String> toValue) |
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, withTextdriver, getBaseUrl, goTo, goTo, setBaseUrl$, $, find, findpublic 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 net.codestory.simplelenium.filters.ElementFilterBuilder with(String description, java.util.function.Function<org.openqa.selenium.WebElement,String> toValue)
with 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 LazyDomElement filter(String description, java.util.function.UnaryOperator<java.util.stream.Stream<org.openqa.selenium.WebElement>> filter)
filter in interface DomElementpublic Should should()
should in interface DomElementpublic LazyDomElement fill(CharSequence text)
fill in interface DomElementpublic LazyDomElement pressReturn()
pressReturn in interface DomElementpublic LazyDomElement sendKeys(CharSequence... keysToSend)
sendKeys in interface DomElementpublic LazyDomElement clear()
clear in interface DomElementpublic LazyDomElement submit()
submit in interface DomElementpublic LazyDomElement click()
click in interface DomElementpublic LazyDomElement click(int x, int y)
click in interface DomElementpublic LazyDomElement doubleClick()
doubleClick in interface DomElementpublic LazyDomElement doubleClick(int x, int y)
doubleClick in interface DomElementpublic LazyDomElement clickAndHold()
clickAndHold in interface DomElementpublic LazyDomElement contextClick()
contextClick in interface DomElementpublic LazyDomElement release()
release in interface DomElementpublic LazyDomElement executeActions(String description, java.util.function.BiConsumer<org.openqa.selenium.WebElement,org.openqa.selenium.interactions.Actions> actionsOnElement)
executeActions in interface DomElementpublic LazyDomElement select(String text)
select in interface DomElementpublic LazyDomElement deselect()
deselect in interface DomElementpublic LazyDomElement deselectByValue(String value)
deselectByValue in interface DomElementpublic LazyDomElement deselectByVisibleText(String text)
deselectByVisibleText in interface DomElementpublic LazyDomElement deselectByIndex(int index)
deselectByIndex in interface DomElementpublic LazyDomElement selectByIndex(int index)
selectByIndex in interface DomElementpublic LazyDomElement selectByValue(String value)
selectByValue in interface DomElementpublic LazyDomElement executeSelect(String description, java.util.function.Consumer<org.openqa.selenium.support.ui.Select> selectOnElement)
executeSelect in interface DomElementpublic LazyDomElement 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.