From 9ee80cca99302247ae5d6f3b496aeb8ac80103dd Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 23 Jun 2025 18:41:25 -0400 Subject: [PATCH] Count chrome driver mismatch as failure --- test/selenium.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/selenium.test.ts b/test/selenium.test.ts index e6db6cdb..bf10d8fd 100644 --- a/test/selenium.test.ts +++ b/test/selenium.test.ts @@ -12,6 +12,11 @@ test("Selenium Chrome test", async () => { console.warn("A browser is probably not installed, skipping selenium tests"); console.warn(e); + if (String(e).includes("This version of ChromeDriver only supports")) { + // Count as failure + throw e; + } + return; }