Package com.codeborne.selenide.impl
Class CollectionElement
- java.lang.Object
-
- com.codeborne.selenide.impl.WebElementSource
-
- com.codeborne.selenide.impl.CollectionElement
-
@ParametersAreNonnullByDefault public class CollectionElement extends WebElementSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementNotFoundcreateElementNotFoundError(Condition condition, java.lang.Throwable lastError)Driverdriver()java.lang.StringgetSearchCriteria()org.openqa.selenium.WebElementgetWebElement()java.lang.StringtoString()static SelenideElementwrap(WebElementsCollection collection, int index)-
Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, find, findAll, findAndAssertElementIsInteractable, getSelector
-
-
-
-
Method Detail
-
wrap
@CheckReturnValue @Nonnull public static SelenideElement wrap(WebElementsCollection collection, int index)
-
driver
@CheckReturnValue @Nonnull public Driver driver()
- Specified by:
driverin classWebElementSource
-
getWebElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getWebElement()
- Specified by:
getWebElementin classWebElementSource
-
getSearchCriteria
@CheckReturnValue @Nonnull public java.lang.String getSearchCriteria()
- Specified by:
getSearchCriteriain classWebElementSource
-
createElementNotFoundError
@CheckReturnValue @Nonnull public ElementNotFound createElementNotFoundError(Condition condition, java.lang.Throwable lastError)
- Overrides:
createElementNotFoundErrorin classWebElementSource
-
toString
@CheckReturnValue @Nonnull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-