From c4ce504c50e660c43958ed05d34f7a752299c562 Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Tue, 22 Aug 2023 14:19:20 +0200 Subject: [PATCH] Include clear cache line in doc about chromedriver 115+ --- docs/index.html | 7 ++++++- docs/webdrivermanager.pdf | Bin 1689212 -> 1692307 bytes src/doc/asciidoc/index.adoc | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index f931c9525..2c8a95c90 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3030,7 +3030,12 @@

Support for chromedriver
-

WebDriverManager 5.4+ implements the support for the CfT endpoints. Therefore, the solution to this problem is to bump WebDriverManager to the latest version (5.4.1 currently).

+

WebDriverManager 5.4+ implements the support for the CfT endpoints. Therefore, the solution to this problem is to bump WebDriverManager to the latest version (5.4.1 currently). Also, to ensure that the wrong version has not been cached in the resolution cache, you can refresh completely the cache folder (at least once) as follows:

+
+
+
+
WebDriverManager.chromedriver().clearDriverCache().setup();
+

Notice that as of WebDriverManager 5.4, Java 11 is required. This requirement is mandatory since WebDriverManager is connected to Selenium, and the Selenium team announced that as of September 2023, the minimum Java version will be Java 11.

diff --git a/docs/webdrivermanager.pdf b/docs/webdrivermanager.pdf index def5774952a4f4b7715a7c9dc15628031c97386e..ea1e7183b5dc039e96e3284e1ab91aae26df4755 100644 GIT binary patch delta 4770 zcmeHL%Zr><7N_gcomAAMx;piB$5##5D5B+ko_p^g>Nu!ih#l~?P3%s)Fd7v_RA#=6 zqqrGk#|)m0$PA1t4ft3zGGt72P|=01#f90pGg0Hl7x=sNO4YsfCm1-X{(g1O``mNR zSHJw@{$sD*zwu*Dk`+gPy`m2A@%}$n{<+yXRy=xDLv+b`Qk}b=;En$lukbhT z%c4RPJEm$@e7WlUP^$Yng_tm%a3w~iMpLx2vd)FkJS6yky zsL00hKSi56CyFaCRl-PGb(+@IsuIrNQ;?+tPCM)P=w}7-=U=w|(3V;X4YPVS7~fT< zBc12HFSZJP@!Ueah~b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_xl=6*Ew# zkt*q{Eil&ff^K+<6d?rqxR)>VnC{EV%)MUBVZ>u z#!MS4kD3A_WqG;GEEYEFoLAX#Q1XE(po6xU7-Nocp5>Hl1$raqIu=GHGi7ue&fJ}PQlv6^c!jfzxx;+NI)a}dQmyS8@m()#TGv4P`> diff --git a/src/doc/asciidoc/index.adoc b/src/doc/asciidoc/index.adoc index 9ea0da120..69818f926 100644 --- a/src/doc/asciidoc/index.adoc +++ b/src/doc/asciidoc/index.adoc @@ -761,7 +761,12 @@ io.github.bonigarcia.wdm.online.HttpClient: Error HTTP 404 executing https://chr org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114 ---- -WebDriverManager 5.4+ implements the support for the CfT endpoints. Therefore, the solution to this problem is to bump WebDriverManager to the **latest version** ({project-version} currently). +WebDriverManager 5.4+ implements the support for the CfT endpoints. Therefore, the solution to this problem is to bump WebDriverManager to the **latest version** ({project-version} currently). Also, to ensure that the wrong version has not been cached in the *resolution cache*, you can refresh completely the cache folder (at least once) as follows: + +[source,java] +---- +WebDriverManager.chromedriver().clearDriverCache().setup(); +---- Notice that as of WebDriverManager 5.4, **Java 11** is required. This requirement is mandatory since WebDriverManager is connected to Selenium, and the Selenium team announced that https://www.selenium.dev/blog/2023/java-8-support/[as of September 2023, the minimum Java version will be Java 11].