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 dc952cd commit 983a43eCopy full SHA for 983a43e
java/src/org/openqa/selenium/grid/node/local/LocalNode.java
@@ -899,11 +899,11 @@ private Session createExternalSession(
899
boolean bidiSupported = isSupportingBiDi && (webSocketUrl instanceof String);
900
if (bidiSupported && bidiEnabled) {
901
String biDiUrl = (String) other.getCapabilities().getCapability("webSocketUrl");
902
- URI uri = null;
+ URI uri;
903
try {
904
uri = new URI(biDiUrl);
905
} catch (URISyntaxException e) {
906
- throw new IllegalArgumentException("Unable to create URI from " + uri);
+ throw new IllegalArgumentException("Unable to create URI from " + biDiUrl);
907
}
908
String bidiPath = String.format("/session/%s/se/bidi", other.getId());
909
toUse =
0 commit comments