Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 8, 2021
1 parent 8a2e777 commit 336fa13
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions java/src/org/openqa/selenium/support/devtools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ java_library(
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/devtools",
"//java/src/org/openqa/selenium/remote/http",

"//java/src/org/openqa/selenium/devtools/v93",

artifact("com.google.guava:guava"),
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package org.openqa.selenium.grid.router;

import com.google.common.collect.ImmutableMap;

import org.junit.BeforeClass;
import org.junit.Test;
import org.openqa.selenium.By;
Expand All @@ -39,17 +38,13 @@
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.remote.http.Contents;
import org.openqa.selenium.remote.http.HttpResponse;
import org.openqa.selenium.remote.http.Route;
import org.openqa.selenium.support.devtools.NetworkInterceptor;
import org.openqa.selenium.testing.drivers.Browser;

import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.CountDownLatch;

import static java.util.concurrent.TimeUnit.SECONDS;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assumptions.assumeThat;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void shouldBeAbleToReturnAMagicResponseThatCausesTheOriginalRequestToProc
driver,
Route.matching(req -> true).to(() -> req -> {
seen.set(true);
return org.openqa.selenium.support.devtools.NetworkInterceptor.PROCEED_WITH_REQUEST;
return NetworkInterceptor.PROCEED_WITH_REQUEST;
}));

driver.get(appServer.whereIs("/cheese"));
Expand Down

0 comments on commit 336fa13

Please sign in to comment.