Package com.codeborne.selenide.impl
Class LastCollectionElement
- java.lang.Object
-
- com.codeborne.selenide.impl.WebElementSource
-
- com.codeborne.selenide.impl.LastCollectionElement
-
public class LastCollectionElement 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)-
Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, find, findAll, findAndAssertElementIsInteractable, getSelector
-
-
-
-
Method Detail
-
wrap
public static SelenideElement wrap(WebElementsCollection collection)
-
driver
public Driver driver()
- Specified by:
driverin classWebElementSource
-
getWebElement
public org.openqa.selenium.WebElement getWebElement()
- Specified by:
getWebElementin classWebElementSource
-
getSearchCriteria
public java.lang.String getSearchCriteria()
- Specified by:
getSearchCriteriain classWebElementSource
-
createElementNotFoundError
public ElementNotFound createElementNotFoundError(Condition condition, java.lang.Throwable lastError)
- Overrides:
createElementNotFoundErrorin classWebElementSource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-