I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable results accured by combining Selenium and Selenide waits.

    WebDriverWait wait = new WebDriverWait(getWebDriver(), timeToWait);


1 Answer 1


You can keep existing approach. SelenideElement extends WebElement so that all existing conditional stuff will be working.

Selenide does not have own cross-element conditions. Only the ones which are applied to a single element like .is(Condition.blah()).

There is also SelenideWait waiter but it actually does nothing but runs FluentWait with some presets.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.