Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

rosolko/wdm4j

Repository files navigation

WebDriver manager for java

ci

This small library aimed to automate the Selenium WebDriver binaries management inside a java project.

Installation

repositories {
    jcenter() 
    ...
    OR
    ...
    mavenCentral()
}

dependencies {
    implementation 'com.github.rosolko:wdm4j:1.1.2'
}

Using

Pick preset binary configuration:

  • ChromeConfig
  • EdgeConfig
  • FirefoxConfig
  • InternetExplorerConfig
  • OperaConfig
  • PhantomJsConfig

Or implement your own from CommonConfig interface

Configure based on selected configuration:

new WebDriverManager().setup(new ChromeConfig())

Lock binary version:

new WebDriverManager().setup(new ChromeConfig(), "2.45")