/selenide

Concise UI Tests with Java!

Primary LanguageJavaMIT LicenseMIT

Selenide = UI Testing Framework powered by Selenium WebDriver

Build Status Maven Central MIT License Free

Join the chat at https://gitter.im/codeborne/selenide Присоединяйся к чату https://gitter.im/codeborne/selenide-ru Follow Slack chat Слак чат Telegram чат

What is Selenide?

Selenide is a framework for writing easy-to-read and easy-to-maintain automated tests in Java. It defines concise fluent API, natural language assertions and does some magic for ajax-based applications to let you focus entirely on the business logic of your tests.

Selenide is based on and is compatible to Selenium WebDriver 4.0+

@Test
public void login() {
  open("/login");
  $(By.name("user.name")).setValue("johny");
  $("#submit").click();
  $("#username").shouldHave(text("Hello, Johny!"));
}

Look for detailed comparison of Selenide and Selenium WebDriver API.

Selenide for mobile apps

You can use Selenide for testing mobile applications. See plugin selenide-appium.

Selenide with Selenoid

You can use Selenide for running tests in Selenoid containers. See plugin selenide-selenoid.

Changelog

Here is CHANGELOG

How to start?

Just put selenide.jar to your project and import the following methods: import static com.codeborne.selenide.Selenide.*;

Look for Quick Start for details.

Resources

FAQ

See Frequently asked questions

Posts

Contributing

Contributions to Selenide are both welcomed and appreciated. See CONTRIBUTING.md for specific guidelines.

Feel free to fork, clone, build, run tests and contribute pull requests for Selenide!

Authors

Selenide was originally designed and developed by Andrei Solntsev in 2011-2021 and is maintained by a group of enthusiast.

Thanks

Many thanks to these incredible tools that help us create open-source software:

Intellij IDEA YourKit Java profiler BrowserStack

License

Selenide is open-source project, and distributed under the MIT license