File tree 2 files changed +2
-2
lines changed
main/scala/org/scalajs/jsenv/selenium
test/scala/org/scalajs/jsenv/selenium
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ private[selenium] object SeleniumRun {
162
162
}
163
163
164
164
private def maybeCleanupDriver (d : WebDriver , config : SeleniumJSEnv .Config ) =
165
- if (! config.keepAlive) d.close ()
165
+ if (! config.keepAlive) d.quit ()
166
166
167
167
private def htmlPage (fullInput : Seq [Input ], materializer : FileMaterializer ): String = {
168
168
val tags = fullInput.map {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class KeepAliveTest {
18
18
private final class MockWebDriver extends WebDriver with JavascriptExecutor {
19
19
var closed = false
20
20
21
- def close (): Unit = closed = true
21
+ def close (): Unit = ???
22
22
def quit (): Unit = closed = true
23
23
24
24
def executeScript (code : String , args : Object * ): Object =
You can’t perform that action at this time.
0 commit comments