An open API service indexing awesome lists of open source software.

https://github.com/choonchernlim/selenium-driver-installer

Dynamically installs the latest Selenium browser driver and set its system property.
https://github.com/choonchernlim/selenium-driver-installer

selenium

Last synced: 2 months ago
JSON representation

Dynamically installs the latest Selenium browser driver and set its system property.

Awesome Lists containing this project

README

          

# selenium-driver-installer [![Build Status](https://travis-ci.org/choonchernlim/selenium-driver-installer.svg?branch=master)](https://travis-ci.org/choonchernlim/selenium-driver-installer) [![codecov](https://codecov.io/gh/choonchernlim/selenium-driver-installer/branch/master/graph/badge.svg)](https://codecov.io/gh/choonchernlim/selenium-driver-installer)

Dynamically installs the latest Selenium browser driver and set its system property. Supported browser driver:-

* Chrome - `webdriver.chrome.driver` system property will be set to the installed driver path.

## Maven Dependency

```xml

com.github.choonchernlim
selenium-driver-installer
0.1.0

```

## How to Use It

```groovy
class ServiceNowChangeRequestSeleniumClient {
static void main(String[] args) {
// Add this line... and that's it.
SeleniumDriverInstaller.chrome()

final WebDriver driver = new ChromeDriver()
...
}
}
```