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.
- Host: GitHub
- URL: https://github.com/choonchernlim/selenium-driver-installer
- Owner: choonchernlim
- License: mit
- Created: 2019-01-25T21:02:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T21:18:29.000Z (over 7 years ago)
- Last Synced: 2025-04-11T13:44:26.828Z (about 1 year ago)
- Topics: selenium
- Language: Groovy
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# selenium-driver-installer [](https://travis-ci.org/choonchernlim/selenium-driver-installer) [](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()
...
}
}
```