We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18aa42b commit 1cc8fceCopy full SHA for 1cc8fce
build.sbt
@@ -109,13 +109,6 @@ lazy val useJSEnv =
109
110
Global / useJSEnv := JSEnv.NodeJS
111
112
-lazy val safariEnv = {
113
- import scala.sys.process._
114
- Process(List("killall", "Safari")).!
115
- val options = new SafariOptions()
116
- new SeleniumJSEnv(options, SeleniumJSEnv.Config().withKeepAlive(true))
117
-}
118
-
119
ThisBuild / Test / jsEnv := {
120
import JSEnv._
121
@@ -148,7 +141,8 @@ ThisBuild / Test / jsEnv := {
148
141
}
149
142
new SeleniumJSEnv(options, SeleniumJSEnv.Config().withDriverFactory(factory))
150
143
case Safari =>
151
- safariEnv
144
+ val options = new SafariOptions()
145
+ new SeleniumJSEnv(options, SeleniumJSEnv.Config().withKeepAlive(true))
152
146
153
147
154
0 commit comments