From 3673f6b9c22d3f8456945e0df36589a57160b6b6 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Fri, 30 Jul 2021 05:34:45 +0000 Subject: [PATCH] Try fixing webworker for chrome --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 4fde1bcaaf..38b10bacbf 100644 --- a/build.sbt +++ b/build.sbt @@ -150,6 +150,7 @@ ThisBuild / Test / jsEnv := { case Chrome => val options = new ChromeOptions() options.setHeadless(true) + options.addArguments("--allow-file-access-from-files") val factory = new DriverFactory { val defaultFactory = SeleniumJSEnv.Config().driverFactory def newInstance(capabilities: org.openqa.selenium.Capabilities): WebDriver = {