Package com.codeborne.selenide.impl
Class LastCollectionElement
java.lang.Object
com.codeborne.selenide.impl.WebElementSource
com.codeborne.selenide.impl.LastCollectionElement
-
Method Summary
Modifier and TypeMethodDescriptioncreateElementNotFoundError
(Condition condition, Throwable lastError) driver()
org.openqa.selenium.WebElement
static SelenideElement
wrap
(CollectionSource collection) Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, description, find, findAll, findAndAssertElementIsEditable, findAndAssertElementIsInteractable, getAlias, getSelector, setAlias, toString
-
Method Details
-
wrap
-
driver
- Specified by:
driver
in classWebElementSource
-
getWebElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getWebElement()- Specified by:
getWebElement
in classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteria
in classWebElementSource
-
createElementNotFoundError
@CheckReturnValue @Nonnull public ElementNotFound createElementNotFoundError(Condition condition, Throwable lastError) - Overrides:
createElementNotFoundError
in classWebElementSource
-