Skip to content

Commit

Permalink
Try fixing webworker for chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jul 30, 2021
1 parent cdf004a commit 3673f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3673f6b

Please sign in to comment.