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, @Nullable Throwable cause) driver()find(SelenideElement proxy, Object arg, int index) List<org.openqa.selenium.WebElement>findAll()getAlias()org.openqa.selenium.WebElementfinal voidtoString()static SelenideElementwrap(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, getSearchContext, getSelector
-
Method Details
-
wrap
-
wrap
-
driver
- Specified by:
driverin classWebElementSource
-
getWebElement
public org.openqa.selenium.WebElement getWebElement()- Specified by:
getWebElementin classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteriain classWebElementSource
-
setAlias
- Overrides:
setAliasin classWebElementSource
-
getAlias
- Overrides:
getAliasin classWebElementSource
-
description
- Overrides:
descriptionin classWebElementSource
-
toString
- Overrides:
toStringin classWebElementSource
-
find
- Overrides:
findin classWebElementSource
-
findAll
- Overrides:
findAllin classWebElementSource- Throws:
IndexOutOfBoundsException
-
createElementNotFoundError
public ElementNotFound createElementNotFoundError(WebElementCondition condition, @Nullable Throwable cause) - Overrides:
createElementNotFoundErrorin classWebElementSource
-