Package com.codeborne.selenide.impl
Class CollectionElement
java.lang.Object
com.codeborne.selenide.impl.WebElementSource
com.codeborne.selenide.impl.CollectionElement
-
Method Summary
Modifier and TypeMethodDescriptioncreateElementNotFoundError
(WebElementCondition condition, Throwable cause) driver()
org.openqa.selenium.WebElement
static SelenideElement
wrap
(CollectionSource collection, int index) static <T extends SelenideElement>
Twrap
(Class<T> clazz, CollectionSource collection, int index) Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, find, findAll, findAndAssertElementIsClickable, findAndAssertElementIsEditable, findAndAssertElementIsInteractable, findAndAssertElementIsVisible, getAlias, getSelector, setAlias, toString
-
Method Details
-
wrap
@CheckReturnValue @Nonnull public static SelenideElement wrap(CollectionSource collection, int index) -
wrap
@CheckReturnValue @Nonnull public static <T extends SelenideElement> T wrap(Class<T> clazz, CollectionSource collection, int index) -
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
-
description
- Overrides:
description
in classWebElementSource
-
createElementNotFoundError
@CheckReturnValue @Nonnull public ElementNotFound createElementNotFoundError(WebElementCondition condition, Throwable cause) - Overrides:
createElementNotFoundError
in classWebElementSource
-