Skip to content

Commit f3451eb

Browse files
committed
Update doc for version 5.6.2
1 parent 54202e4 commit f3451eb

File tree

3 files changed

+24
-18
lines changed

3 files changed

+24
-18
lines changed

CHANGELOG.md

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

3+
## [5.6.2] - 2023-11-07
4+
5+
### Fixed
6+
- Fix logic to find driver version from CfT URL (#1160)
7+
8+
39
## [5.6.1] - 2023-11-02
410

511
### Fixed

docs/index.html

Lines changed: 18 additions & 18 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 5.6.1</span>
778+
<span id="revdate">Version 5.6.2</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>5.6.1<span class="tag">&lt;/version&gt;</span>
1005+
<span class="tag">&lt;version&gt;</span>5.6.2<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:5.6.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:5.6.2</span><span class="delimiter">&quot;</span></span><span class="error">)</span>
10171017
}</code></pre>
10181018
</div>
10191019
</div>
@@ -2055,10 +2055,10 @@ <h3 id="webdrivermanager-cli"><a class="anchor" href="#webdrivermanager-cli"></a
20552055
<div class="olist arabic">
20562056
<ol class="arabic">
20572057
<li>
2058-
<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-5.6.1/webdrivermanager-5.6.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>
2058+
<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-5.6.2/webdrivermanager-5.6.2-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>
20592059
<div class="listingblock">
20602060
<div class="content">
2061-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.1-fat.jar &lt;args&gt;</code></pre>
2061+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.2-fat.jar &lt;args&gt;</code></pre>
20622062
</div>
20632063
</div>
20642064
</li>
@@ -2074,7 +2074,7 @@ <h3 id="webdrivermanager-cli"><a class="anchor" href="#webdrivermanager-cli"></a
20742074
<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>
20752075
<div class="listingblock">
20762076
<div class="content">
2077-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -e ARGS=&quot;&lt;args&gt;&quot; bonigarcia/webdrivermanager:5.6.1</code></pre>
2077+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -e ARGS=&quot;&lt;args&gt;&quot; bonigarcia/webdrivermanager:5.6.2</code></pre>
20782078
</div>
20792079
</div>
20802080
</li>
@@ -2112,7 +2112,7 @@ <h4 id="option-1-driver-resolver" class="discrete">Option 1: Driver Resolver</h4
21122112
</div>
21132113
<div class="listingblock">
21142114
<div class="content">
2115-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.1-fat.jar resolveDriverFor chrome</code></pre>
2115+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.2-fat.jar resolveDriverFor chrome</code></pre>
21162116
</div>
21172117
</div>
21182118
<div class="ulist">
@@ -2136,7 +2136,7 @@ <h4 id="option-1-driver-resolver" class="discrete">Option 1: Driver Resolver</h4
21362136
</div>
21372137
<div class="listingblock">
21382138
<div class="content">
2139-
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -v ${PWD}:/wdm -e ARGS=&quot;resolveDriverFor chrome&quot; bonigarcia/webdrivermanager:5.6.1</code></pre>
2139+
<pre class="CodeRay highlight"><code data-lang="shell">docker run --rm -v ${PWD}:/wdm -e ARGS=&quot;resolveDriverFor chrome&quot; bonigarcia/webdrivermanager:5.6.2</code></pre>
21402140
</div>
21412141
</div>
21422142
<h4 id="option-2-browsers-in-docker" class="discrete">Option 2: Browsers in Docker</h4>
@@ -2152,7 +2152,7 @@ <h4 id="option-2-browsers-in-docker" class="discrete">Option 2: Browsers in Dock
21522152
</div>
21532153
<div class="listingblock">
21542154
<div class="content">
2155-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.1-fat.jar runInDocker chrome</code></pre>
2155+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.2-fat.jar runInDocker chrome</code></pre>
21562156
</div>
21572157
</div>
21582158
<div class="ulist">
@@ -2176,7 +2176,7 @@ <h4 id="option-2-browsers-in-docker" class="discrete">Option 2: Browsers in Dock
21762176
</div>
21772177
<div class="listingblock">
21782178
<div class="content">
2179-
<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:5.6.1</code></pre>
2179+
<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:5.6.2</code></pre>
21802180
</div>
21812181
</div>
21822182
<div class="admonitionblock warning">
@@ -2204,7 +2204,7 @@ <h4 id="option-3-server" class="discrete">Option 3: Server</h4>
22042204
</div>
22052205
<div class="listingblock">
22062206
<div class="content">
2207-
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.1-fat.jar server</code></pre>
2207+
<pre class="CodeRay highlight"><code data-lang="shell">java -jar webdrivermanager-5.6.2-fat.jar server</code></pre>
22082208
</div>
22092209
</div>
22102210
<div class="ulist">
@@ -2228,7 +2228,7 @@ <h4 id="option-3-server" class="discrete">Option 3: Server</h4>
22282228
</div>
22292229
<div class="listingblock">
22302230
<div class="content">
2231-
<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:5.6.1</code></pre>
2231+
<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:5.6.2</code></pre>
22322232
</div>
22332233
</div>
22342234
</div>
@@ -2345,7 +2345,7 @@ <h3 id="webdrivermanager-agent"><a class="anchor" href="#webdrivermanager-agent"
23452345
</div>
23462346
</div>
23472347
<div class="paragraph">
2348-
<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-5.6.1/webdrivermanager-5.6.1-fat.jar">fat-JAR</a> using the JVM flag <code>-javaagent:/path/to/webdrivermanager-5.6.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>
2348+
<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-5.6.2/webdrivermanager-5.6.2-fat.jar">fat-JAR</a> using the JVM flag <code>-javaagent:/path/to/webdrivermanager-5.6.2-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>
23492349
</div>
23502350
</div>
23512351
<div class="sect2">
@@ -2389,7 +2389,7 @@ <h3 id="selenium-grid"><a class="anchor" href="#selenium-grid"></a>4.5. Selenium
23892389
</div>
23902390
<div class="listingblock">
23912391
<div class="content">
2392-
<pre class="CodeRay highlight"><code data-lang="shell">boni@ubuntu:~$ java -jar webdrivermanager-5.6.1-fat.jar resolveDriverFor chrome
2392+
<pre class="CodeRay highlight"><code data-lang="shell">boni@ubuntu:~$ java -jar webdrivermanager-5.6.2-fat.jar resolveDriverFor chrome
23932393
[INFO] Using WebDriverManager to resolve chrome
23942394
[DEBUG] Detecting chrome version using online commands.properties
23952395
[DEBUG] Running command on the shell: [google-chrome, --version]
@@ -2514,7 +2514,7 @@ <h2 id="advanced-configuration"><a class="anchor" href="#advanced-configuration"
25142514
</div>
25152515
<div class="listingblock">
25162516
<div class="content">
2517-
<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:5.6.1</code></pre>
2517+
<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:5.6.2</code></pre>
25182518
</div>
25192519
</div>
25202520
<div class="admonitionblock note">
@@ -3073,7 +3073,7 @@ <h3 id="support-for-chromedriver-115"><a class="anchor" href="#support-for-chrom
30733073
</div>
30743074
</div>
30753075
<div class="paragraph">
3076-
<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> (5.6.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>
3076+
<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> (5.6.2 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>
30773077
</div>
30783078
<div class="listingblock">
30793079
<div class="content">
@@ -3265,8 +3265,8 @@ <h2 id="about"><a class="anchor" href="#about"></a>12. About</h2>
32653265
</div>
32663266
<div id="footer">
32673267
<div id="footer-text">
3268-
Version 5.6.1<br>
3269-
Updated on 03-11-2023
3268+
Version 5.6.2<br>
3269+
Updated on 07-11-2023
32703270
</div>
32713271
</div>
32723272
</body>

docs/webdrivermanager.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)