Package com.codeborne.selenide.impl
Class LazyWebElementSnapshot
java.lang.Object
com.codeborne.selenide.impl.WebElementSource
com.codeborne.selenide.impl.LazyWebElementSnapshot
-
Method Summary
Modifier and TypeMethodDescriptioncreateElementNotFoundError
(WebElementCondition condition, Throwable cause) driver()
find
(SelenideElement proxy, Object arg, int index) List<org.openqa.selenium.WebElement>
findAll()
getAlias()
org.openqa.selenium.WebElement
void
toString()
static SelenideElement
wrap
(WebElementSource delegate) static <T extends SelenideElement>
Twrap
(Class<T> clazz, WebElementSource delegate) Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, findAndAssertElementIsClickable, findAndAssertElementIsEditable, findAndAssertElementIsInteractable, findAndAssertElementIsVisible, getSelector
-
Method Details
-
wrap
-
wrap
-
driver
- Specified by:
driver
in classWebElementSource
-
getWebElement
@Nonnull public org.openqa.selenium.WebElement getWebElement()- Specified by:
getWebElement
in classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteria
in classWebElementSource
-
setAlias
- Overrides:
setAlias
in classWebElementSource
-
getAlias
- Overrides:
getAlias
in classWebElementSource
-
description
- Overrides:
description
in classWebElementSource
-
toString
- Overrides:
toString
in classWebElementSource
-
find
- Overrides:
find
in classWebElementSource
-
findAll
- Overrides:
findAll
in classWebElementSource
- Throws:
IndexOutOfBoundsException
-
createElementNotFoundError
@Nonnull public ElementNotFound createElementNotFoundError(WebElementCondition condition, Throwable cause) - Overrides:
createElementNotFoundError
in classWebElementSource
-