Good day to all.
I've authored a class that extends
com.codeborne.selenide.Condition. Within the implementation of the overridden methods...
public boolean apply(WebElement element);
...and...
public String actualValue(WebElement element);
...I wish to act upon the input argument WebElement as a SelenideElement (I have all sorts of support classes/methods that act upon SelenideElements using its lovely fluent interface). Is there any way to do this or am I stuck rewriting the same functionality again but using the less-elegant Selenium API? Can I convert/look up a SelenideElement from a WebElement?
Thanks