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, @Nullable Throwable cause) driver()org.openqa.selenium.WebElementstatic SelenideElementwrap(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, getSearchContext, getSelector, setAlias, toString
-
Method Details
-
wrap
-
wrap
public static <T extends SelenideElement> T wrap(Class<T> clazz, CollectionSource collection, int index) -
driver
- Specified by:
driverin classWebElementSource
-
getWebElement
public org.openqa.selenium.WebElement getWebElement()- Specified by:
getWebElementin classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteriain classWebElementSource
-
description
- Overrides:
descriptionin classWebElementSource
-
createElementNotFoundError
public ElementNotFound createElementNotFoundError(WebElementCondition condition, @Nullable Throwable cause) - Overrides:
createElementNotFoundErrorin classWebElementSource
-