Skip to content

Commit

Permalink
Update README for version 4.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Jan 17, 2021
1 parent cf77fe8 commit 6801864
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To use WebDriverManager from tests in a Maven project, you need to add the follo
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>4.3.0</version>
<version>4.3.1</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -74,7 +74,7 @@ To use WebDriverManager from tests in a Maven project, you need to add the follo

```
dependencies {
testImplementation("io.github.bonigarcia:webdrivermanager:4.3.0")
testImplementation("io.github.bonigarcia:webdrivermanager:4.3.1")
}
```

Expand Down Expand Up @@ -354,7 +354,7 @@ As of version 2.2.0, WebDriverManager can used interactively from the Command Li
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WebDriverManager 4.3.0
[INFO] Building WebDriverManager 4.3.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ webdrivermanager ---
Expand All @@ -375,10 +375,10 @@ As of version 2.2.0, WebDriverManager can used interactively from the Command Li
[INFO] ------------------------------------------------------------------------
```

* Using WebDriverManager as a *fat-jar* (i.e. WebDriverManager with all its dependencies in a single executable JAR file). This JAR file can downloaded from [here](https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-4.3.0/webdrivermanager-4.3.0-fat.jar) and also it can be created using the command ``mvn compile assembly:single`` from the source code. Once you get the *fat-jar*, you simply need to use the command ``java -jar webdrivermanager-4.3.0-fat.jar browserName``, for instance:
* Using WebDriverManager as a *fat-jar* (i.e. WebDriverManager with all its dependencies in a single executable JAR file). This JAR file can downloaded from [here](https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-4.3.1/webdrivermanager-4.3.1-fat.jar) and also it can be created using the command ``mvn compile assembly:single`` from the source code. Once you get the *fat-jar*, you simply need to use the command ``java -jar webdrivermanager-4.3.1-fat.jar browserName``, for instance:

```
> java -jar webdrivermanager-4.3.0-fat.jar chrome
> java -jar webdrivermanager-4.3.1-fat.jar chrome
[INFO] Using WebDriverManager to resolve chrome
[DEBUG] Running command on the shell: [google-chrome, --version]
[DEBUG] Result: Google Chrome 81.0.4044.138
Expand All @@ -402,7 +402,7 @@ $ mvn exec:java -Dexec.args="server"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WebDriverManager 4.3.0
[INFO] Building WebDriverManager 4.3.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ webdrivermanager ---
Expand All @@ -412,7 +412,7 @@ $ mvn exec:java -Dexec.args="server"
* Using WebDriverManager as a [fat-jar]. For instance:

```
> java -jar webdrivermanager-4.3.0-fat.jar server
> java -jar webdrivermanager-4.3.1-fat.jar server
[INFO] WebDriverManager server listening on port 4041
```

Expand Down Expand Up @@ -544,26 +544,26 @@ Starting ChromeDriver 81.0.4044.138 (8c6c7ba89cc9453625af54f11fd83179e23450fa-re
As of version 4.0.0, WebDriverManager can be used as a [Docker container] to execute the Server and CLI modes. To execute WebDriverManager Server in Docker, you simply need to run the following command:

```
docker run -p 4041:4041 bonigarcia/webdrivermanager:4.3.0
docker run -p 4041:4041 bonigarcia/webdrivermanager:4.3.1
```

To execute WebDriverManager CLI in Docker, you need to specify the type of browser to be resolved as environmental variable (`BROWSER`). The rest of WebDriverManager configuration parameters can be passed to the Docker container using env variables using the usual `-e` option in Docker. For example, in Linux:

```
docker run --rm -e BROWSER=chrome -e WDM_CHROMEVERSION=84 -e WDM_OS=LINUX -v ${PWD}:/wdm bonigarcia/webdrivermanager:4.3.0
docker run --rm -e BROWSER=chrome -e WDM_CHROMEVERSION=84 -e WDM_OS=LINUX -v ${PWD}:/wdm bonigarcia/webdrivermanager:4.3.1
```

... or Mac:

```
docker run --rm -e BROWSER=chrome -e WDM_CHROMEVERSION=84 -e WDM_OS=MAC -v ${PWD}:/wdm bonigarcia/webdrivermanager:4.3.0
docker run --rm -e BROWSER=chrome -e WDM_CHROMEVERSION=84 -e WDM_OS=MAC -v ${PWD}:/wdm bonigarcia/webdrivermanager:4.3.1
```

... or Windows (if WSL2 is installed in Windows, you can use `${PWD}` instead of `%cd%` for the volume setup):


```
docker run --rm -e BROWSER=chrome -e WDM_CHROMEVERSION=84 -e WDM_OS=WIN -v %cd%:/wdm bonigarcia/webdrivermanager:4.3.0
docker run --rm -e BROWSER=chrome -e WDM_CHROMEVERSION=84 -e WDM_OS=WIN -v %cd%:/wdm bonigarcia/webdrivermanager:4.3.1
```

## Known issues
Expand Down Expand Up @@ -670,7 +670,7 @@ WebDriverManager (Copyright &copy; 2015-2020) is a project created and maintaine
[versions.properties]: https://github.com/bonigarcia/webdrivermanager/blob/master/src/main/resources/versions.properties
[WebDriverManager Examples]: https://github.com/bonigarcia/webdrivermanager-examples
[WebDriverManager issues]: https://github.com/bonigarcia/webdrivermanager/issues
[fat-jar]: https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-4.3.0/webdrivermanager-4.3.0-fat.jar
[fat-jar]: https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-4.3.1/webdrivermanager-4.3.1-fat.jar
[survey]: http://tiny.cc/wdm-survey
[Docker container]: https://hub.docker.com/repository/docker/bonigarcia/webdrivermanager
[chromedriver-latest]: https://chromedriver.storage.googleapis.com/LATEST_RELEASE
Expand Down

0 comments on commit 6801864

Please sign in to comment.