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(Condition condition, Throwable lastError) driver()org.openqa.selenium.WebElementstatic SelenideElementwrap(CollectionSource collection, int index) Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, description, find, findAll, findAndAssertElementIsEditable, findAndAssertElementIsInteractable, getAlias, getSelector, setAlias, toString
-
Method Details
-
wrap
@CheckReturnValue @Nonnull public static SelenideElement wrap(CollectionSource collection, int index) -
driver
- Specified by:
driverin classWebElementSource
-
getWebElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getWebElement()- Specified by:
getWebElementin classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteriain classWebElementSource
-
createElementNotFoundError
@CheckReturnValue @Nonnull public ElementNotFound createElementNotFoundError(Condition condition, Throwable lastError) - Overrides:
createElementNotFoundErrorin classWebElementSource
-