From 594bf1d4a051aad78ab0e4772898bec16d0f0e31 Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Wed, 21 Feb 2024 16:31:20 +0100 Subject: [PATCH] Set Chrome version in mirror test --- .../java/io/github/bonigarcia/wdm/test/mirror/MirrorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/github/bonigarcia/wdm/test/mirror/MirrorTest.java b/src/test/java/io/github/bonigarcia/wdm/test/mirror/MirrorTest.java index 6be15e55d..cefc8539d 100644 --- a/src/test/java/io/github/bonigarcia/wdm/test/mirror/MirrorTest.java +++ b/src/test/java/io/github/bonigarcia/wdm/test/mirror/MirrorTest.java @@ -41,8 +41,8 @@ class MirrorTest { @Test void testMirrorChrome() throws Exception { WebDriverManager wdm = WebDriverManager.chromedriver() - .avoidBrowserDetection().clearResolutionCache().useMirror() - .forceDownload(); + .browserVersion("100").avoidBrowserDetection() + .clearResolutionCache().useMirror().forceDownload(); wdm.config().setChromeDriverMirrorUrl(new URL( "https://registry.npmmirror.com/-/binary/chromedriver/")); wdm.setup();