Package com.codeborne.selenide.impl
Class JSElementFinder
java.lang.Object
com.codeborne.selenide.impl.WebElementSource
com.codeborne.selenide.impl.JSElementFinder
-
Method Summary
Modifier and TypeMethodDescriptioncreateElementNotFoundError(WebElementCondition condition, Throwable cause) driver()org.openqa.selenium.WebElementtoString()static <T extends SelenideElement>
TMethods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, description, find, findAll, findAndAssertElementIsClickable, findAndAssertElementIsEditable, findAndAssertElementIsInteractable, getAlias, getSelector, setAlias
-
Method Details
-
wrap
@CheckReturnValue @Nonnull public static <T extends SelenideElement> T wrap(Class<T> clazz, Driver driver, String description, WebElementSource parent, String js) -
driver
- Specified by:
driverin classWebElementSource
-
getWebElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getWebElement() throws org.openqa.selenium.NoSuchElementException, IndexOutOfBoundsException- Specified by:
getWebElementin classWebElementSource- Throws:
org.openqa.selenium.NoSuchElementExceptionIndexOutOfBoundsException
-
createElementNotFoundError
@CheckReturnValue @Nonnull public ElementNotFound createElementNotFoundError(WebElementCondition condition, Throwable cause) - Overrides:
createElementNotFoundErrorin classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteriain classWebElementSource
-
toString
- Overrides:
toStringin classWebElementSource
-