WebDriver Extensions module is a wonderful library addition to the Selenium scripting practice.
It facilitates multiple browser execution, automatic driver download. For more
details: https://webdriverextensions.github.io/webdriverextensions-maven-plugin/index.html
In this practice, the Selenium Server jar is used to start Grid also would be downloaded in the same directory. The
versions, download URLs are controlled via ./driver-repository.json
When all drivers and Selenium Server are downloaded, perform to start Hub and Node.
- Clone repository "test-parent-pom" (mandatory)
git clone [email protected]:ndviet/test-parent-pom.git
- Clone this repository
git clone [email protected]:ndviet/test-webdriver-downloader.git
- Build the project to trigger the downloading
mvn clean install
cd Drivers
java -jar selenium-server.jar hub
cd Drivers
java -jar selenium-server.jar node --port 5555
A sample project with entire repositories together for the test execution.