This is a sample project demonstrating how to test Google search UI with Selenide (Selenium webdriver).
You can checkout and run it locally with a few minutes.
Type from command line for running tests in different browsers:
./gradlew chrome./gradlew firefox./gradlew ie./gradlew edge./gradlew safariType from command line for running tests in different browsers:
./mvnw clean test -P chrome./mvnw clean test -P firefox./mvnw clean test -P ie./mvnw clean test -P edge./mvnw clean test -P safariFeel free to share your feedback!
It's a short video demonstrating how it works:
The project contains tests in different styles:
- without page object (selenide_straightforward)
- with classic Selenium page object
- with Selenide-style page object