We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aebca7 commit 14de34fCopy full SHA for 14de34f
1 file changed
src/main/kotlin/me/daegyeo/netflixchecker/crawler/BankCrawler.kt
@@ -23,7 +23,7 @@ import org.openqa.selenium.support.ui.WebDriverWait
23
import org.slf4j.LoggerFactory
24
import org.springframework.context.ApplicationEventPublisher
25
import org.springframework.stereotype.Component
26
-import java.net.URL
+import java.net.URI
27
import java.time.Duration
28
import java.time.LocalDateTime
29
import java.time.ZoneId
@@ -66,7 +66,7 @@ class BankCrawler(
66
System.setProperty(DRIVER_NAME, DRIVER_PATH)
67
ChromeDriver(option)
68
} else {
69
- RemoteWebDriver(URL(seleniumConfiguration.host), option)
+ RemoteWebDriver(URI(seleniumConfiguration.host).toURL(), option)
70
}
71
72
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(WAIT_SECONDS))
0 commit comments