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) |
LazyDomElement(LazyDomElement parent,
org.openqa.selenium.By selector) |
LazyDomElement(LazyDomElement parent,
org.openqa.selenium.By selector,
net.codestory.simplelenium.filters.Retry retry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwithClass, withId, withName, withTagName, withTextconsole, driver, executeJavascript, getBaseUrl, goTo, goTo, setBaseUrlpublic LazyDomElement(org.openqa.selenium.By selector)
public LazyDomElement(org.openqa.selenium.By selector,
net.codestory.simplelenium.filters.Retry retry)
public LazyDomElement(LazyDomElement parent, org.openqa.selenium.By selector)
public LazyDomElement(LazyDomElement parent, org.openqa.selenium.By selector, net.codestory.simplelenium.filters.Retry retry)
public DomElement find(String selector)
find in interface DomElementFinderpublic DomElement find(org.openqa.selenium.By selector)
find in interface DomElementFinderpublic 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 with(String name)
with in interface DomElementpublic net.codestory.simplelenium.filters.ElementFilterBuilder withCss(String name)
withCss 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 append(CharSequence text)
append in interface DomElementpublic LazyDomElement pressReturn()
pressReturn in interface DomElementpublic LazyDomElement pressEnter()
pressEnter 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 check()
check in interface DomElementpublic LazyDomElement uncheck()
uncheck 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 dragAndDropTo(String destinationSelector)
dragAndDropTo 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<org.openqa.selenium.WebElement> action)
execute in interface DomElementpublic LazyDomElement retryFor(long duration, TimeUnit timeUnit)
retryFor in interface DomElementCopyright © 2015. All Rights Reserved.