Skip to content

Commit 073a77f

Browse files
committed
Update doc for version 3.8.0
1 parent 466cf87 commit 073a77f

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ In order to use WebDriverManager from tests in a Maven project, you need to add
6161
<dependency>
6262
<groupId>io.github.bonigarcia</groupId>
6363
<artifactId>webdrivermanager</artifactId>
64-
<version>3.7.1</version>
64+
<version>3.8.0</version>
6565
<scope>test</scope>
6666
</dependency>
6767
```
@@ -70,7 +70,7 @@ In order to use WebDriverManager from tests in a Maven project, you need to add
7070

7171
```
7272
dependencies {
73-
testCompile("io.github.bonigarcia:webdrivermanager:3.7.1")
73+
testCompile("io.github.bonigarcia:webdrivermanager:3.8.0")
7474
}
7575
```
7676

@@ -113,7 +113,7 @@ Notice that simply adding ``WebDriverManager.chromedriver().setup();`` WebDriver
113113
3. It downloads the WebDriver binary if it is not present on the WebDriverManager cache (``~/.m2/repository/webdriver`` by default).
114114
4. It exports the proper WebDriver Java environment variables required by Selenium (not done when using WebDriverManager from the CLI or as a Server).
115115

116-
WebDriverManager resolves the driver binaries for the browsers **Chrome**, **Firefox**, **Opera**, **PhantomJS**, **Microsoft Edge**, and **Internet Explorer**. For that, it provides several *drivers managers* for these browsers. These *drivers managers* can be used as follows:
116+
WebDriverManager resolves the driver binaries for the browsers **Chrome**, **Firefox**, **Opera**, **PhantomJS**, **Microsoft Edge**, **Internet Explorer**, and **Chromium**. For that, it provides several *drivers managers* for these browsers. These *drivers managers* can be used as follows:
117117

118118
```java
119119
WebDriverManager.chromedriver().setup();
@@ -122,6 +122,7 @@ WebDriverManager.operadriver().setup();
122122
WebDriverManager.phantomjs().setup();
123123
WebDriverManager.edgedriver().setup();
124124
WebDriverManager.iedriver().setup();
125+
WebDriverManager.chromiumdriver().setup();
125126
```
126127

127128
**NOTE**: The old WebDriverManager API (version 1.x) has been deprecated as of version 3.x (`ChromeDriverManager.getInstance().setup();`, `FirefoxDriverManager.getInstance().setup();`, and so on).
@@ -267,6 +268,8 @@ wdm.internetExplorerDriverExport=webdriver.ie.driver
267268

268269
wdm.seleniumServerStandaloneUrl=https://selenium-release.storage.googleapis.com/
269270

271+
wdm.chromiumDriverSnapPath=/snap/bin/chromium.chromedriver
272+
270273
wdm.versionsPropertiesOnlineFirst=true
271274
wdm.versionsPropertiesUrl=https://raw.githubusercontent.com/bonigarcia/webdrivermanager/master/src/main/resources/versions.properties
272275
```
@@ -325,7 +328,7 @@ As of version 2.2.0, WebDriverManager can used interactively from the Command Li
325328
[INFO] Scanning for projects...
326329
[INFO]
327330
[INFO] ------------------------------------------------------------------------
328-
[INFO] Building WebDriverManager 3.7.1
331+
[INFO] Building WebDriverManager 3.8.0
329332
[INFO] ------------------------------------------------------------------------
330333
[INFO]
331334
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ webdrivermanager ---
@@ -343,10 +346,10 @@ As of version 2.2.0, WebDriverManager can used interactively from the Command Li
343346
[INFO] ------------------------------------------------------------------------
344347
```
345348

346-
* 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-3.7.1/webdrivermanager-3.7.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-3.7.1-fat.jar browserName``, for instance:
349+
* 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-3.8.0/webdrivermanager-3.8.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-3.8.0-fat.jar browserName``, for instance:
347350

348351
```
349-
> java -jar webdrivermanager-3.7.1-fat.jar chrome
352+
> java -jar webdrivermanager-3.8.0-fat.jar chrome
350353
[INFO] Using WebDriverManager to resolve chrome
351354
[INFO] Using chromedriver 73.0.3683.68 (since Google Chrome 73 is installed in your machine)
352355
[INFO] Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
@@ -366,17 +369,17 @@ $ mvn exec:java -Dexec.args="server"
366369
[INFO] Scanning for projects...
367370
[INFO]
368371
[INFO] ------------------------------------------------------------------------
369-
[INFO] Building WebDriverManager 3.7.1
372+
[INFO] Building WebDriverManager 3.8.0
370373
[INFO] ------------------------------------------------------------------------
371374
[INFO]
372375
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ webdrivermanager ---
373376
[INFO] WebDriverManager server listening on port 4041
374377
```
375378

376-
* Using WebDriverManager as a [fat-jar](https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-3.7.1/webdrivermanager-3.7.1-fat.jar). For instance:
379+
* Using WebDriverManager as a [fat-jar](https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-3.8.0/webdrivermanager-3.8.0-fat.jar). For instance:
377380

378381
```
379-
> java -jar webdrivermanager-3.7.1-fat.jar server
382+
> java -jar webdrivermanager-3.8.0-fat.jar server
380383
[INFO] WebDriverManager server listening on port 4041
381384
```
382385

src/test/java/io/github/bonigarcia/wdm/test/VersionFilterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* FilterCacheBy test.
4242
*
4343
* @author Boni Garcia ([email protected])
44-
* @since 3.7.2
44+
* @since 3.8.0
4545
*/
4646
@RunWith(Parameterized.class)
4747
public class VersionFilterTest {

0 commit comments

Comments
 (0)