Package com.codeborne.selenide.impl
Class WebElementWrapper
java.lang.Object
com.codeborne.selenide.impl.WebElementSource
com.codeborne.selenide.impl.WebElementWrapper
-
Constructor Summary
ModifierConstructorDescriptionprotected
WebElementWrapper
(Driver driver, org.openqa.selenium.WebElement delegate, @Nullable String searchCriteria) -
Method Summary
Modifier and TypeMethodDescriptiondriver()
org.openqa.selenium.WebElement
toString()
static SelenideElement
static SelenideElement
static <T extends SelenideElement>
Tstatic <T extends SelenideElement>
Twrap
(Class<T> clazz, Driver driver, org.openqa.selenium.WebElement element, @Nullable String searchCriteria) Methods inherited from class com.codeborne.selenide.impl.WebElementSource
checkCondition, createElementNotFoundError, description, find, findAll, findAndAssertElementIsClickable, findAndAssertElementIsEditable, findAndAssertElementIsInteractable, findAndAssertElementIsVisible, getAlias, getSelector, setAlias
-
Constructor Details
-
WebElementWrapper
-
-
Method Details
-
wrap
-
wrap
public static <T extends SelenideElement> T wrap(Class<T> clazz, Driver driver, org.openqa.selenium.WebElement element) -
wrap
public static SelenideElement wrap(Driver driver, org.openqa.selenium.WebElement element, @Nullable String searchCriteria) -
wrap
public static <T extends SelenideElement> T wrap(Class<T> clazz, Driver driver, org.openqa.selenium.WebElement element, @Nullable String searchCriteria) -
getWebElement
public org.openqa.selenium.WebElement getWebElement()- Specified by:
getWebElement
in classWebElementSource
-
getSearchCriteria
- Specified by:
getSearchCriteria
in classWebElementSource
-
toString
- Overrides:
toString
in classWebElementSource
-
driver
- Specified by:
driver
in classWebElementSource
-