1
0
mirror of synced 2026-05-22 18:53:15 +00:00

fix: Replaced println with logMessage in DriverJar (#1627)

This commit is contained in:
Thomas Fowler
2024-07-24 03:29:15 +10:00
committed by GitHub
parent 1e8adde480
commit 650419c952
@@ -74,7 +74,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");
logMessage("Skipping browsers download because `PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD` env variable is set");
return;
}
if (env.get(SELENIUM_REMOTE_URL) != null || System.getenv(SELENIUM_REMOTE_URL) != null) {