NEW Released Selenide 5.18.1
Quick Start
It's extremely easy to start using Selenide. Definitely not a rocket science.
Here is the quick start guide to get you started.
How to write UI test in 10 minutes
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide</artifactId>
<version>5.18.1</version>
<scope>test</scope>
</dependency>
Tab - 2
Start writing test
- Import required classes:
import static com.codeborne.selenide.Selenide.*;
import static com.codeborne.selenide.Condition.*;
import static com.codeborne.selenide.Selectors.*;
- and write test:
@Test
public void userCanLogin() {
open("http://example.com/login");
$(byName("user.name")).setValue("johny");
$("#submit").click();
$(".loading_progress").should(disappear); // Waits until element disappears
$("#username").shouldHave(text("Hello, Johny!")); // Waits until element's text is displayed
}
🤟 Ready!
Do you want to see a working example?
We created Selenide examples group on github with examples of using Selenide:
- for testing Gmail,
- for testing Google search.
- for testing real internet-bank
- for testing real internet-bank
Share your examples!
If you have any examples of Selenide usage, feel free to share them with us!
