diff --git a/build.sbt b/build.sbt index 85ae286..d80feeb 100644 --- a/build.sbt +++ b/build.sbt @@ -32,7 +32,7 @@ developers := List( val scribeVersion: String = "3.11.9" -val seleniumVersion: String = "4.10.0" +val seleniumVersion: String = "4.11.0" val spiceVersion: String = "0.1.10" @@ -58,7 +58,7 @@ libraryDependencies ++= Seq( "org.seleniumhq.selenium" % "selenium-remote-driver" % seleniumVersion, "org.seleniumhq.selenium" % "htmlunit-driver" % seleniumVersion, "org.seleniumhq.selenium" % "selenium-support" % seleniumVersion, - "org.seleniumhq.selenium" % "selenium-devtools-v112" % seleniumVersion, + "org.seleniumhq.selenium" % "selenium-devtools-v115" % seleniumVersion, "com.lihaoyi" %% "sourcecode" % sourcecodeVersion, "com.fifesoft" % "rsyntaxtextarea" % rsyntaxtextareaVersion, "org.scalatest" %% "scalatest" % scalatestVersion % "test" diff --git a/src/main/scala/com/outr/robobrowser/RoboBrowser.scala b/src/main/scala/com/outr/robobrowser/RoboBrowser.scala index 15b8c3f..e3ec84f 100644 --- a/src/main/scala/com/outr/robobrowser/RoboBrowser.scala +++ b/src/main/scala/com/outr/robobrowser/RoboBrowser.scala @@ -26,8 +26,8 @@ import fabric.define.DefType import fabric.io.{JsonFormatter, JsonParser} import fabric.rw._ import org.openqa.selenium.devtools.{DevTools, HasDevTools} -import org.openqa.selenium.devtools.v112.network.Network -import org.openqa.selenium.devtools.v112.network.model.{RequestWillBeSent, ResponseReceived} +import org.openqa.selenium.devtools.v115.network.Network +import org.openqa.selenium.devtools.v115.network.model.{RequestWillBeSent, ResponseReceived} import spice.http.cookie.SameSite import spice.http.cookie.{Cookie => SpiceCookie} import spice.net.URL diff --git a/src/main/scala/com/outr/robobrowser/browser/chrome/Chrome.scala b/src/main/scala/com/outr/robobrowser/browser/chrome/Chrome.scala index e25543d..aacc030 100644 --- a/src/main/scala/com/outr/robobrowser/browser/chrome/Chrome.scala +++ b/src/main/scala/com/outr/robobrowser/browser/chrome/Chrome.scala @@ -2,8 +2,8 @@ package com.outr.robobrowser.browser.chrome import com.outr.robobrowser.RoboBrowser import org.openqa.selenium.chrome.{ChromeDriver, ChromeOptions => SeleniumChromeOptions} -import org.openqa.selenium.devtools.v112.network.Network -import org.openqa.selenium.devtools.v112.network.model.Headers +import org.openqa.selenium.devtools.v115.network.Network +import org.openqa.selenium.devtools.v115.network.model.Headers import java.io.{File, FileNotFoundException} import java.util