Skip to content

Commit c6435fe

Browse files
committed
fix: download ignore state close #23
1 parent 9c00695 commit c6435fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/xyz/cssxsh/selenium/SeleniumInit.kt

+2
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ internal fun setupChromeDriver(folder: File, chromium: Boolean): RemoteWebDriver
391391
break
392392
} catch (_: IOException) {
393393
continue
394+
} catch (_: IllegalStateException) {
395+
continue
394396
}
395397
}
396398
}

0 commit comments

Comments
 (0)