We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31bab00 commit 779f485Copy full SHA for 779f485
build.sbt
@@ -109,6 +109,11 @@ lazy val useJSEnv =
109
110
Global / useJSEnv := JSEnv.NodeJS
111
112
+lazy val safariEnv = {
113
+ val options = new SafariOptions()
114
+ new SeleniumJSEnv(options)
115
+}
116
+
117
ThisBuild / Test / jsEnv := {
118
import JSEnv._
119
@@ -141,8 +146,7 @@ ThisBuild / Test / jsEnv := {
141
146
}
142
147
new SeleniumJSEnv(options, SeleniumJSEnv.Config().withDriverFactory(factory))
143
148
case Safari =>
144
- val options = new SafariOptions()
145
- new SeleniumJSEnv(options)
149
+ safariEnv
150
151
152
0 commit comments