Skip to content

Commit

Permalink
Custom setup after reset in Chrome ARM test
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Sep 9, 2021
1 parent c6e3341 commit 459911e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class ChromeArmTest {

@Test
void testChromeArm() {
WebDriverManager wdm = WebDriverManager.chromedriver().mac()
.avoidBrowserDetection();
WebDriverManager wdm = WebDriverManager.chromedriver();

// 1. Force downloading
wdm.forceDownload();
Expand All @@ -50,11 +49,11 @@ void testChromeArm() {
}

private void checkArm(WebDriverManager wdm) {
wdm.arch64().setup();
wdm.avoidBrowserDetection().mac().arch64().setup();
String driverPath = wdm.getDownloadedDriverPath();
log.debug("Driver path (X64) {}", driverPath);

wdm.arm64().setup();
wdm.avoidBrowserDetection().mac().arm64().setup();
String driverPathArm64 = wdm.getDownloadedDriverPath();
log.debug("Driver path (ARM64) {}", driverPathArm64);

Expand Down

0 comments on commit 459911e

Please sign in to comment.