aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/selenium.test.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/selenium.test.ts b/test/selenium.test.ts
index a50e62f1..0e334f62 100644
--- a/test/selenium.test.ts
+++ b/test/selenium.test.ts
@@ -3,7 +3,15 @@ import * as Chrome from "selenium-webdriver/chrome";
import * as Path from "path";
test("Selenium Chrome test", async () => {
- const driver = await setup();
+ let driver;
+ try {
+ driver = await setup();
+ } catch (e) {
+ console.warn("A browser is probably not installed, skipping selenium tests");
+ console.warn(e);
+
+ return;
+ }
try {
await waitForInstall(driver);