We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2634ecf commit abb85b2Copy full SHA for abb85b2
java/test/org/openqa/selenium/devtools/CdpEndpointFinderTest.java
@@ -52,12 +52,12 @@ void shouldReturnUriIfPresent() {
52
}
53
54
@Test
55
- void shouldNotDetectFirefoxDevTools() {
+ void shouldReturnUriIfPresentAndIsAtTopLevel() {
56
Capabilities caps =
57
new Json().toType("{\"moz:debuggerAddress\": \"localhost:93487\" }", Capabilities.class);
58
59
Optional<URI> uri = CdpEndpointFinder.getReportedUri("moz:debuggerAddress", caps);
60
61
- assertThat(uri).isEmpty();
+ assertThat(uri).contains(URI.create("http://localhost:93487"));
62
63
0 commit comments