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 safari
Type from command line for running tests in different browsers:
mvn clean test -P chrome
mvn clean test -P firefox
mvn clean test -P ie
mvn clean test -P edge
mvn clean test -P safari
Feel 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