Selenide and Selenium comparison

Why is not Selenium WebDriver enough?
βœ“ API
βœ“ Reports
βœ“ Clouds




Selenium WebDriver is a great tool, but it’s not a tool for testing. It’s a tool for browser manipulation.

And Selenide is a tool for automated testing (build on top of Selenium WebDriver).

Why yet another Selenium wrapper?

There are several testing libraries around Selenium WebDriver. But it seems that they do not resolve the main problems of UI tests. Namely, instability of tests caused by dynamic content, JavaScript, Ajax, timeouts etc. Selenide was created to resolve these problems.

What benefits gives Selenide over plain Selenium?

First of all, Selenide makes your tests stable by resolving (almost) all Ajax/timing issues.

Selenide provides a concise API for using Selenium WebDriver in UI tests:

  • Smart waiting
  • Transparent WebDriver
  • Convenience methods
  • Ajax support
  • Automated screenshots

You can find more details below.

Transparent WebDriver

You don’t need to operate with WebDriver directly. Selenide will start and shut down the browser automatically whenever it’s needed.

Convenience methods

Selenide provides concise API for that makes your tests shorter and more readable. Selenide has convenient methods for operating controls like textfield, radiobutton, selectbox, searching elements by texts and so on.

public void canFillComplexForm() {
  $("#user.securityQuestion").selectOptionByText("What is my first car?");

Ajax support

When testing Ajax applications we often need to wait until some element changes its state. Selenide has built-in methods for waiting.

Any of the following methods waits until the described event happens. Default timeout is 4 seconds.


 $(".message").shouldNotHave(text("Wait for loading..."));

Automated screenshots

When your test fail, Selenide will automatically take screenshot. You do not need to do anything for it.

More benefits

Look at this presentation to find out more Selenide benefits: