Skip to content

Commit e48cf8e

Browse files
committed
Update doc for version 6.2.0
1 parent 413acc4 commit e48cf8e

File tree

3 files changed

+31
-19
lines changed

3 files changed

+31
-19
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [6.2.0] - 2025-07-18
4+
5+
### Added
6+
- Include getResolvedBrowserVersion() in the WebDriverManager API (#1474)
7+
8+
### Fixed
9+
- Fix Edge driver url (#1489)
10+
11+
312
## [6.1.1] - 2025-07-09
413

514
### Fixed

docs/index.html

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@
775775
<h1>WebDriverManager</h1>
776776
<div class="details">
777777
<span id="author" class="author">Boni García</span><br>
778-
<span id="revdate">Version 6.1.1</span>
778+
<span id="revdate">Version 6.2.0</span>
779779
</div>
780780
<div id="toc" class="toc2">
781781
<div id="toctitle">Table of Contents</div>
@@ -1002,7 +1002,7 @@ <h2 id="setup"><a class="anchor" href="#setup"></a>2. Setup</h2>
10021002
<pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;dependency&gt;</span>
10031003
<span class="tag">&lt;groupId&gt;</span>io.github.bonigarcia<span class="tag">&lt;/groupId&gt;</span>
10041004
<span class="tag">&lt;artifactId&gt;</span>webdrivermanager<span class="tag">&lt;/artifactId&gt;</span>
1005-
<span class="tag">&lt;version&gt;</span>6.1.1<span class="tag">&lt;/version&gt;</span>
1005+
<span class="tag">&lt;version&gt;</span>6.2.0<span class="tag">&lt;/version&gt;</span>
10061006
<span class="tag">&lt;scope&gt;</span>test<span class="tag">&lt;/scope&gt;</span>
10071007
<span class="tag">&lt;/dependency&gt;</span></code></pre>
10081008
</div>
@@ -1013,7 +1013,7 @@ <h2 id="setup"><a class="anchor" href="#setup"></a>2. Setup</h2>
10131013
<div class="listingblock">
10141014
<div class="content">
10151015
<pre class="CodeRay highlight"><code data-lang="json"><span class="error">d</span><span class="error">e</span><span class="error">p</span><span class="error">e</span><span class="error">n</span><span class="error">d</span><span class="error">e</span><span class="error">n</span><span class="error">c</span><span class="error">i</span><span class="error">e</span><span class="error">s</span> {
1016-
<span class="error">t</span><span class="error">e</span><span class="error">s</span><span class="error">t</span><span class="error">I</span><span class="error">m</span><span class="error">p</span><span class="error">l</span><span class="error">e</span><span class="error">m</span><span class="error">e</span><span class="error">n</span><span class="error">t</span><span class="error">a</span><span class="error">t</span><span class="error">i</span><span class="error">o</span><span class="error">n</span><span class="error">(</span><span class="string"><span class="delimiter">&quot;</span><span class="content">io.github.bonigarcia:webdrivermanager:6.1.1</span><span class="delimiter">&quot;</span></span><span class="error">)</span>
1016+
<span class="error">t</span><span class="error">e</span><span class="error">s</span><span class="error">t</span><span class="error">I</span><span class="error">m</span><span class="error">p</span><span class="error">l</span><span class="error">e</span><span class="error">m</span><span class="error">e</span><span class="error">n</span><span class="error">t</span><span class="error">a</span><span class="error">t</span><span class="error">i</span><span class="error">o</span><span class="error">n</span><span class="error">(</span><span class="string"><span class="delimiter">&quot;</span><span class="content">io.github.bonigarcia:webdrivermanager:6.2.0</span><span class="delimiter">&quot;</span></span><span class="error">)</span>
10171017
}</code></pre>
10181018
</div>
10191019
</div>
@@ -1203,7 +1203,10 @@ <h4 id="advanced-settings"><a class="anchor" href="#advanced-settings"></a>3.1.3
12031203
<p><code>getDownloadedDriverPath()</code>: Used to find out the path of the resolved driver in the current instance of WebDriverManager.</p>
12041204
</li>
12051205
<li>
1206-
<p><code>getDownloadedDriverVersion()</code>: Use to find out the version of the driver resolved in the current instance of WebDriverManager.</p>
1206+
<p><code>getDownloadedDriverVersion()</code>: Used to find out the version of the driver resolved in the current instance of WebDriverManager.</p>
1207+
</li>
1208+
<li>
1209+
<p><code>getResolvedBrowserVersion()</code>: Used to find out the major browser version discovered in the current instance of WebDriverManager.</p>
12071210
</li>
12081211
<li>
12091212
<p><code>getDriverVersions()</code>: Used to find the list of available driver versions in a given manager.</p>
@@ -2044,10 +2047,10 @@ <h3 id="webdrivermanager-cli"><a class="anchor" href="#webdrivermanager-cli"></a
20442047
<div class="olist arabic">
20452048
<ol class="arabic">
20462049
<li>
2047-
<p>Using the WebDriverManager <em>fat-JAR</em> (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 <code>mvn compile assembly:single</code>, and it is released on GitHub with every new version of WebDriverManager. You can download the latest of this fat-JAR from <a href="https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-6.1.1/webdrivermanager-6.1.1-fat.jar">here</a>. Once you get this file, you need to use the following command in the shell (where <code>&lt;args&gt;</code> are the accepted arguments, explained below):</p>
2050+
<p>Using the WebDriverManager <em>fat-JAR</em> (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 <code>mvn compile assembly:single</code>, and it is released on GitHub with every new version of WebDriverManager. You can download the latest of this fat-JAR from <a href="https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-6.2.0/webdrivermanager-6.2.0-fat.jar">here</a>. Once you get this file, you need to use the following command in the shell (where <code>&lt;args&gt;</code> are the accepted arguments, explained below):</p>
20482051
<div class="listingblock">
20492052
<div class="content">
2050-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.1.1-fat.jar &lt;args&gt;</code></pre>
2053+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.2.0-fat.jar &lt;args&gt;</code></pre>
20512054
</div>
20522055
</div>
20532056
</li>
@@ -2063,7 +2066,7 @@ <h3 id="webdrivermanager-cli"><a class="anchor" href="#webdrivermanager-cli"></a
20632066
<p>Using the WebDriverManager Docker container. Each new release of WebDriverManager is pushed to <a href="https://hub.docker.com/r/bonigarcia/webdrivermanager">Docker Hub</a> as a container based on <a href="https://hub.docker.com/_/openjdk">OpenJDK</a> plus the WebDriverManager fat-JAR. The default command to run the WebDriverManager Docker container is described below.</p>
20642067
<div class="listingblock">
20652068
<div class="content">
2066-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -e ARGS=&quot;&lt;args&gt;&quot; bonigarcia/webdrivermanager:6.1.1</code></pre>
2069+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -e ARGS=&quot;&lt;args&gt;&quot; bonigarcia/webdrivermanager:6.2.0</code></pre>
20672070
</div>
20682071
</div>
20692072
</li>
@@ -2101,7 +2104,7 @@ <h4 id="option-1-driver-resolver" class="discrete">Option 1: Driver Resolver</h4
21012104
</div>
21022105
<div class="listingblock">
21032106
<div class="content">
2104-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.1.1-fat.jar resolveDriverFor chrome</code></pre>
2107+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.2.0-fat.jar resolveDriverFor chrome</code></pre>
21052108
</div>
21062109
</div>
21072110
<div class="ulist">
@@ -2125,7 +2128,7 @@ <h4 id="option-1-driver-resolver" class="discrete">Option 1: Driver Resolver</h4
21252128
</div>
21262129
<div class="listingblock">
21272130
<div class="content">
2128-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -v ${PWD}:/wdm -e ARGS=&quot;resolveDriverFor chrome&quot; bonigarcia/webdrivermanager:6.1.1</code></pre>
2131+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -v ${PWD}:/wdm -e ARGS=&quot;resolveDriverFor chrome&quot; bonigarcia/webdrivermanager:6.2.0</code></pre>
21292132
</div>
21302133
</div>
21312134
<h4 id="option-2-browsers-in-docker" class="discrete">Option 2: Browsers in Docker</h4>
@@ -2141,7 +2144,7 @@ <h4 id="option-2-browsers-in-docker" class="discrete">Option 2: Browsers in Dock
21412144
</div>
21422145
<div class="listingblock">
21432146
<div class="content">
2144-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.1.1-fat.jar runInDocker chrome</code></pre>
2147+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.2.0-fat.jar runInDocker chrome</code></pre>
21452148
</div>
21462149
</div>
21472150
<div class="ulist">
@@ -2165,7 +2168,7 @@ <h4 id="option-2-browsers-in-docker" class="discrete">Option 2: Browsers in Dock
21652168
</div>
21662169
<div class="listingblock">
21672170
<div class="content">
2168-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -e ARGS=&quot;runInDocker chrome&quot; bonigarcia/webdrivermanager:6.1.1</code></pre>
2171+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -e ARGS=&quot;runInDocker chrome&quot; bonigarcia/webdrivermanager:6.2.0</code></pre>
21692172
</div>
21702173
</div>
21712174
<h4 id="option-3-server" class="discrete">Option 3: Server</h4>
@@ -2181,7 +2184,7 @@ <h4 id="option-3-server" class="discrete">Option 3: Server</h4>
21812184
</div>
21822185
<div class="listingblock">
21832186
<div class="content">
2184-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.1.1-fat.jar server</code></pre>
2187+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-6.2.0-fat.jar server</code></pre>
21852188
</div>
21862189
</div>
21872190
<div class="ulist">
@@ -2205,7 +2208,7 @@ <h4 id="option-3-server" class="discrete">Option 3: Server</h4>
22052208
</div>
22062209
<div class="listingblock">
22072210
<div class="content">
2208-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock bonigarcia/webdrivermanager:6.1.1</code></pre>
2211+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock bonigarcia/webdrivermanager:6.2.0</code></pre>
22092212
</div>
22102213
</div>
22112214
</div>
@@ -2322,7 +2325,7 @@ <h3 id="webdrivermanager-agent"><a class="anchor" href="#webdrivermanager-agent"
23222325
</div>
23232326
</div>
23242327
<div class="paragraph">
2325-
<p>To configure the WebDriverManager Agent, we need to specify the path of the WebDriverManager <a href="https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-6.1.1/webdrivermanager-6.1.1-fat.jar">fat-JAR</a> using the JVM flag <code>-javaagent:/path/to/webdrivermanager-6.1.1-fat.jar</code>. Alternatively, it can be done using Maven (see a complete project example <a href="https://github.com/bonigarcia/wdm-agent-example/">here</a>).</p>
2328+
<p>To configure the WebDriverManager Agent, we need to specify the path of the WebDriverManager <a href="https://github.com/bonigarcia/webdrivermanager/releases/download/webdrivermanager-6.2.0/webdrivermanager-6.2.0-fat.jar">fat-JAR</a> using the JVM flag <code>-javaagent:/path/to/webdrivermanager-6.2.0-fat.jar</code>. Alternatively, it can be done using Maven (see a complete project example <a href="https://github.com/bonigarcia/wdm-agent-example/">here</a>).</p>
23262329
</div>
23272330
</div>
23282331
<div class="sect2">
@@ -2366,7 +2369,7 @@ <h3 id="selenium-grid"><a class="anchor" href="#selenium-grid"></a>4.5. Selenium
23662369
</div>
23672370
<div class="listingblock">
23682371
<div class="content">
2369-
<pre class="CodeRay highlight"><code data-lang="shell">boni@ubuntu:~$ java -jar webdrivermanager-6.1.1-fat.jar resolveDriverFor chrome
2372+
<pre class="CodeRay highlight"><code data-lang="shell">boni@ubuntu:~$ java -jar webdrivermanager-6.2.0-fat.jar resolveDriverFor chrome
23702373
[INFO] Using WebDriverManager to resolve chrome
23712374
[DEBUG] Detecting chrome version using online commands.properties
23722375
[DEBUG] Running command on the shell: [google-chrome, --version]
@@ -2491,7 +2494,7 @@ <h2 id="advanced-configuration"><a class="anchor" href="#advanced-configuration"
24912494
</div>
24922495
<div class="listingblock">
24932496
<div class="content">
2494-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -v ${PWD}:/wdm -e ARGS=&quot;resolveDriverFor chrome&quot; -e WDM_CHROMEVERSION=84 bonigarcia/webdrivermanager:6.1.1</code></pre>
2497+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -v ${PWD}:/wdm -e ARGS=&quot;resolveDriverFor chrome&quot; -e WDM_CHROMEVERSION=84 bonigarcia/webdrivermanager:6.2.0</code></pre>
24952498
</div>
24962499
</div>
24972500
<div class="admonitionblock note">
@@ -3044,7 +3047,7 @@ <h3 id="support-for-chromedriver-115"><a class="anchor" href="#support-for-chrom
30443047
</div>
30453048
</div>
30463049
<div class="paragraph">
3047-
<p>WebDriverManager 5.4+ implements the support for the CfT endpoints. Therefore, the solution to this problem is to bump WebDriverManager to the <strong>latest version</strong> (6.1.1 currently). Also, to ensure that the wrong version has not been cached in the <strong>resolution cache</strong>, you can refresh completely the cache folder (at least once) as follows:</p>
3050+
<p>WebDriverManager 5.4+ implements the support for the CfT endpoints. Therefore, the solution to this problem is to bump WebDriverManager to the <strong>latest version</strong> (6.2.0 currently). Also, to ensure that the wrong version has not been cached in the <strong>resolution cache</strong>, you can refresh completely the cache folder (at least once) as follows:</p>
30483051
</div>
30493052
<div class="listingblock">
30503053
<div class="content">
@@ -3245,8 +3248,8 @@ <h2 id="about"><a class="anchor" href="#about"></a>12. About</h2>
32453248
</div>
32463249
<div id="footer">
32473250
<div id="footer-text">
3248-
Version 6.1.1<br>
3249-
Updated on 09-07-2025
3251+
Version 6.2.0<br>
3252+
Updated on 18-07-2025
32503253
</div>
32513254
</div>
32523255
</body>

docs/webdrivermanager.pdf

1.63 KB
Binary file not shown.

0 commit comments

Comments
 (0)