https://github.com/bonigarcia/selenium-webdriver-java
Examples of the O'Reilly book "Hands-On Selenium WebDriver with Java"
https://github.com/bonigarcia/selenium-webdriver-java
docker gradle java junit4 junit5 maven selenium selenium-jupiter selenium-webdriver selenium4 testng
Last synced: 20 days ago
JSON representation
Examples of the O'Reilly book "Hands-On Selenium WebDriver with Java"
- Host: GitHub
- URL: https://github.com/bonigarcia/selenium-webdriver-java
- Owner: bonigarcia
- License: apache-2.0
- Created: 2019-12-11T17:14:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T06:51:42.000Z (about 1 year ago)
- Last Synced: 2024-04-15T15:36:44.909Z (about 1 year ago)
- Topics: docker, gradle, java, junit4, junit5, maven, selenium, selenium-jupiter, selenium-webdriver, selenium4, testng
- Language: Java
- Homepage: https://oreil.ly/1E7CX
- Size: 4.46 MB
- Stars: 154
- Watchers: 10
- Forks: 86
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/bonigarcia/selenium-webdriver-java/actions)
[](https://www.oracle.com/java/technologies/downloads/)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://stackoverflow.com/questions/tagged/selenium-webdriver)
[](https://twitter.com/boni_gg)# Hands-On Selenium WebDriver with Java [![][Logo]][GitHub Repository]
This repository contains a comprehensive collection of examples about [Selenium] 4 using [Java] as language binding. These examples are explained in the O'Reilly book [Hands-On Selenium WebDriver with Java].
[![][Cover]][Hands-On Selenium WebDriver with Java]
This repo has been implemented as a multi-module project (using [Maven] and [Gradle] as build tools) composed of tests based on different frameworks: [JUnit 4], [JUnit 5] (alone or extended with [Selenium-Jupiter]), and [TestNG].
## Practice site
This repo also contains a [Practice site], i.e., a representative set of sample web pages used as the system under test (SUT) in the Selenium WebDriver test examples. This site is hosted using [GitHub Pages].
## Tags
This repo uses Git tags to track the evolution of the codebase in time. These tags are the following:
* `1.0.0`: The examples of the first version of the book (released in April 2022) are based on this tag.
* `1.1.0`: Bump to Java 11, due to the incompatibility of TestNG 7.6.0 (released on May 18, 2022) with Java 8.
* `1.2.0`: Remove GitHub token from the workflow setup, not required anymore since WebDriverManager 5.3.0 (released on August 21, 2022).
* `1.3.0`: Bump to Java 17, due to the incompatibility of Spring Boot 3.0.0 (released on Nov 24, 2022) with Java 11.## About
selenium-webdriver-java (Copyright © 2021-2025) is an open-source project created and maintained by [Boni Garcia], licensed under the terms of [Apache 2.0 License].
[Logo]: https://bonigarcia.dev/selenium-webdriver-java/img/hands-on-icon.png
[GitHub Repository]: https://github.com/bonigarcia/selenium-webdriver-java/
[Apache 2.0 License]: https://www.apache.org/licenses/LICENSE-2.0
[Boni Garcia]: https://bonigarcia.dev/
[Gradle]: https://gradle.org/
[Java]: https://www.java.com/
[JUnit 4]: https://junit.org/junit4/
[JUnit 5]: https://junit.org/junit5/docs/current/user-guide/
[Maven]: https://maven.apache.org/
[Selenium]: https://www.selenium.dev/
[Selenium-Jupiter]: https://bonigarcia.dev/selenium-jupiter/
[TestNG]: https://testng.org/doc/
[Hands-On Selenium WebDriver with Java]: https://oreil.ly/1E7CX
[Cover]: https://bonigarcia.dev/img/hands-on-selenium-webdriver-java.png
[Practice site]: https://bonigarcia.dev/selenium-webdriver-java/
[GitHub Pages]: https://pages.github.com/