Skip to content

Commit

Permalink
chore: upgrade testbench to 9.3.0.beta1 (#19286)
Browse files Browse the repository at this point in the history
* chore: upgrade testbench to 9.3.0.beta1

* update selenium package name

* Update DevToolsWrapper.java

* format
  • Loading branch information
ZheSun88 committed Apr 30, 2024
1 parent f395a16 commit f8f1774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.openqa.selenium.devtools.idealized.Domains;
import org.openqa.selenium.devtools.idealized.target.model.SessionID;
import org.openqa.selenium.devtools.idealized.target.model.TargetID;
import org.openqa.selenium.devtools.v121.network.Network;
import org.openqa.selenium.devtools.v124.network.Network;
import org.openqa.selenium.remote.Augmenter;
import org.openqa.selenium.remote.RemoteWebDriver;

Expand All @@ -53,6 +53,7 @@ public void setOfflineEnabled(Boolean isEnabled) {
sendToAllTargets(Network.enable(Optional.empty(), Optional.empty(),
Optional.empty()));
sendToAllTargets(Network.emulateNetworkConditions(isEnabled, -1, -1, -1,
Optional.empty(), Optional.empty(), Optional.empty(),
Optional.empty()));
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<maven.resources.plugin.version>3.0.2</maven.resources.plugin.version>
<maven.clean.plugin.version>3.3.2</maven.clean.plugin.version>
<maven.exec.plugin.version>1.6.0</maven.exec.plugin.version>
<testbench.version>9.3.0.alpha1</testbench.version>
<testbench.version>9.3.0.beta1</testbench.version>
<jetty.version>12.0.8</jetty.version>
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
<build-helper-maven-plugin.version>3.5.0</build-helper-maven-plugin.version>
Expand Down

0 comments on commit f8f1774

Please sign in to comment.