1
0
mirror of synced 2026-08-07 07:56:55 +00:00

fix: print warning when skipping browser download (#557)

This commit is contained in:
Yury Semikhatsky
2021-08-13 09:04:17 -07:00
committed by GitHub
parent ebf9b09c34
commit 70b9e2e034
@@ -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();