From 70b9e2e034242695708e6e3150babd623ce9e525 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 13 Aug 2021 09:04:17 -0700 Subject: [PATCH] fix: print warning when skipping browser download (#557) --- .../src/main/java/com/microsoft/playwright/impl/DriverJar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java b/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java index f5300399..641551a7 100644 --- a/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java +++ b/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java @@ -45,6 +45,7 @@ public class DriverJar extends Driver { skip = System.getenv(PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD); } if (skip != null && !"0".equals(skip) && !"false".equals(skip)) { + System.out.println("Skipping browsers download because `PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD` env variable is set"); return; } String cliFileName = super.cliFileName();