Skip to content

Commit 4ffb27f

Browse files
[java] Return a ws scheme instead of the http scheme of the grid
1 parent 8f24298 commit 4ffb27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ private Session createExternalSession(ActiveSession other, URI externalUri, bool
461461
private URI rewrite(String path) {
462462
try {
463463
return new URI(
464-
gridUri.getScheme(),
464+
"ws",
465465
gridUri.getUserInfo(),
466466
gridUri.getHost(),
467467
gridUri.getPort(),

0 commit comments

Comments
 (0)