@Override public ElementNotFound createElementNotFoundError(Condition condition, Throwable lastError) { if (parent instanceof SelenideElement) { ((SelenideElement) parent).should(exist); } else if (parent instanceof WebElement) { WebElementWrapper.wrap(driver(), (WebElement) parent).should(exist); } return super.createElementNotFoundError(condition, lastError); }
public J should(Condition... conditions) { Selenide.$(getWebElement()).should(conditions); return this; }
public JList should(Condition... conditions) { Selenide.$(getWebElement()).should(conditions); return this; }
public JList should(Condition... conditions) { Selenide.$(getWebElement()).should(conditions); return this; }
public J should(Condition... conditions) { Selenide.$(getWebElement()).should(conditions); return this; }