Skip to content

Commit

Permalink
Set Chrome version in mirror test
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Feb 21, 2024
1 parent d658fc2 commit 594bf1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 594bf1d

Please sign in to comment.