Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Aug 8, 2023
1 parent f23169a commit c10547c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ val rsyntaxtextareaVersion: String = "3.3.4"
val scalatestVersion: String = "3.2.16"

libraryDependencies ++= Seq(
"com.outr" %% "scribe-slf4j" % scribeVersion,
"com.outr" %% "scribe-slf4j2" % scribeVersion,
"com.outr" %% "spice-client-okhttp" % spiceVersion,
"com.outr" %% "spice-server-undertow" % spiceVersion,
"org.jsoup" % "jsoup" % jsoupVersion,
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/com/outr/robobrowser/browser/ios/IOS.scala
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class IOS(url: URL, capabilities: Capabilities) extends RoboBrowser(capabilities
}

override protected def createDriver(): Driver = {
val javaURL = new java.net.URL(url.toString())
val javaURL = new java.net.URI(url.toString()).toURL
new IOSDriver(javaURL, capabilities)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Remote(url: URL, capabilities: Capabilities, fileDetector: Option[FileDete
override def sessionId: String = withDriver(_.getSessionId.toString)

override protected def createDriver(): Driver = {
val javaURL = new java.net.URL(url.toString())
val javaURL = new java.net.URI(url.toString()).toURL
val driver = new RemoteWebDriver(javaURL, capabilities)
fileDetector.foreach(driver.setFileDetector)
driver
Expand Down

0 comments on commit c10547c

Please sign in to comment.