Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.24 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.24 KB

Introduction

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.

List dependency repositories

Source code usage

  1. Clone repository "test-parent-pom" (mandatory)
git clone git@github.com:ndviet/test-parent-pom.git
  1. Clone this repository
git clone git@github.com:ndviet/test-webdriver-downloader.git
  1. 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

Reference

A sample project with entire repositories together for the test execution.