Description
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-bases applications to let you focus entirely on the business logic of your tests.
Selenide is based on and is compatible to Selenium WebDriver 2.0
Selenide alternatives and similar libraries
Based on the "Testing" category.
Alternatively, view Selenide alternatives based on common mentions on social networks and blogs.
-
Apache JMeter
Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services -
TestContainers
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. -
MockServer
MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding). -
PowerMock
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable. -
Pact JVM
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project. -
Scott Test Reporter
Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java -
pojo-tester
Java testing framework for testing pojo methods. It tests equals, hashCode, toString, getters, setters, constructors and whatever you report in issues ;)
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Selenide or a related project?
README
Selenide = UI Testing Framework powered by Selenium WebDriver
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
- First of all, selenide.org
- For bustlers: How to start writing UI tests in 10 minutes
- For developers: Selenide presentation on Devoxx 2015
- For QA engineers: Selenide presentation on SeleniumConf 2015
- For russians: Selenide presentation on SeleniumCamp 2015
FAQ
See Frequently asked questions
Posts
- Set-up environment with gradle, junit5, allure and selenide -- read a post on medium, grab from github
- Small step do dramatically improve your tests speed -- read a post on medium
- Another way to improve tests speed -- read a post on medium
- Configure Selenide to work with Selenoid
Contributing
Contributions to Selenide are both welcomed and appreciated. See [CONTRIBUTING.md](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 creating open-source software:
License
Selenide is open-source project, and distributed under the MIT license
*Note that all licence references and agreements mentioned in the Selenide README section above
are relevant to that project's source code only.