Skip to content

Commit 70b9e2e

Browse files
authored
fix: print warning when skipping browser download (microsoft#557)
1 parent ebf9b09 commit 70b9e2e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • driver-bundle/src/main/java/com/microsoft/playwright/impl

driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private void installBrowsers(Map<String, String> env) throws IOException, Interr
4545
skip = System.getenv(PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD);
4646
}
4747
if (skip != null && !"0".equals(skip) && !"false".equals(skip)) {
48+
System.out.println("Skipping browsers download because `PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD` env variable is set");
4849
return;
4950
}
5051
String cliFileName = super.cliFileName();

0 commit comments

Comments
 (0)