dependencies {
- testImplementation("io.github.bonigarcia:webdrivermanager:5.6.1")
+ testImplementation("io.github.bonigarcia:webdrivermanager:5.6.2")
}
From f3451eb893e6bfd7dbe9d415b50d6b1cbb069372 Mon Sep 17 00:00:00 2001
From: Boni Garcia Using the WebDriverManager fat-JAR (i.e., WebDriverManager with all its dependencies in a single executable JAR file). This JAR file is generated from the source using the Maven command Using the WebDriverManager fat-JAR (i.e., WebDriverManager with all its dependencies in a single executable JAR file). This JAR file is generated from the source using the Maven command WebDriverManager
-Version 5.6.1
+Version 5.6.2
2. Setup
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
- <version>5.6.1</version>
+ <version>5.6.2</version>
<scope>test</scope>
</dependency>
2. Setup
dependencies {
- testImplementation("io.github.bonigarcia:webdrivermanager:5.6.1")
+ testImplementation("io.github.bonigarcia:webdrivermanager:5.6.2")
}
mvn compile assembly:single
, and it is released on GitHub with every new version of WebDriverManager. You can download the latest of this fat-JAR from here. Once you get this file, you need to use the following command in the shell (where <args>
are the accepted arguments, explained below):mvn compile assembly:single
, and it is released on GitHub with every new version of WebDriverManager. You can download the latest of this fat-JAR from here. Once you get this file, you need to use the following command in the shell (where <args>
are the accepted arguments, explained below):
+java -jar webdrivermanager-5.6.1-fat.jar <args>
java -jar webdrivermanager-5.6.2-fat.jar <args>
Using the WebDriverManager Docker container. Each new release of WebDriverManager is pushed to Docker Hub as a container based on OpenJDK plus the WebDriverManager fat-JAR. The default command to run the WebDriverManager Docker container is described below.
docker run --rm -e ARGS="<args>" bonigarcia/webdrivermanager:5.6.1
+docker run --rm -e ARGS="<args>" bonigarcia/webdrivermanager:5.6.2
java -jar webdrivermanager-5.6.1-fat.jar resolveDriverFor chrome
+java -jar webdrivermanager-5.6.2-fat.jar resolveDriverFor chrome
docker run --rm -v ${PWD}:/wdm -e ARGS="resolveDriverFor chrome" bonigarcia/webdrivermanager:5.6.1
+docker run --rm -v ${PWD}:/wdm -e ARGS="resolveDriverFor chrome" bonigarcia/webdrivermanager:5.6.2
java -jar webdrivermanager-5.6.1-fat.jar runInDocker chrome
+java -jar webdrivermanager-5.6.2-fat.jar runInDocker chrome
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -e ARGS="runInDocker chrome" bonigarcia/webdrivermanager:5.6.1
+docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -e ARGS="runInDocker chrome" bonigarcia/webdrivermanager:5.6.2
java -jar webdrivermanager-5.6.1-fat.jar server
+java -jar webdrivermanager-5.6.2-fat.jar server
docker run --rm -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock bonigarcia/webdrivermanager:5.6.1
+docker run --rm -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock bonigarcia/webdrivermanager:5.6.2
To configure the WebDriverManager Agent, we need to specify the path of the WebDriverManager fat-JAR using the JVM flag -javaagent:/path/to/webdrivermanager-5.6.1-fat.jar
. Alternatively, it can be done using Maven (see a complete project example here).
To configure the WebDriverManager Agent, we need to specify the path of the WebDriverManager fat-JAR using the JVM flag -javaagent:/path/to/webdrivermanager-5.6.2-fat.jar
. Alternatively, it can be done using Maven (see a complete project example here).
boni@ubuntu:~$ java -jar webdrivermanager-5.6.1-fat.jar resolveDriverFor chrome
+boni@ubuntu:~$ java -jar webdrivermanager-5.6.2-fat.jar resolveDriverFor chrome
[INFO] Using WebDriverManager to resolve chrome
[DEBUG] Detecting chrome version using online commands.properties
[DEBUG] Running command on the shell: [google-chrome, --version]
@@ -2514,7 +2514,7 @@
-docker run --rm -v ${PWD}:/wdm -e ARGS="resolveDriverFor chrome" -e WDM_CHROMEVERSION=84 bonigarcia/webdrivermanager:5.6.1
+docker run --rm -v ${PWD}:/wdm -e ARGS="resolveDriverFor chrome" -e WDM_CHROMEVERSION=84 bonigarcia/webdrivermanager:5.6.2