Skip to content

Commit 248774d

Browse files
Jonahsslukeis
authored andcommitted
re-added Context endpoints to java client
Signed-off-by: Luke Inman-Semerau <[email protected]>
1 parent 1208bbc commit 248774d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/client/src/org/openqa/selenium/remote/http/JsonHttpCommandCodec.java

+4
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ public JsonHttpCommandCodec() {
7070
defineCommand(GET_CURRENT_WINDOW_HANDLE, get("/session/:sessionId/window_handle"));
7171
defineCommand(GET_WINDOW_HANDLES, get("/session/:sessionId/window_handles"));
7272

73+
defineCommand(SWITCH_TO_CONTEXT, post("/session/:sessionId/context"));
74+
defineCommand(GET_CURRENT_CONTEXT_HANDLE, get("/session/:sessionId/context"));
75+
defineCommand(GET_CONTEXT_HANDLES, get("/session/:sessionId/contexts"));
76+
7377
defineCommand(GET_CURRENT_URL, get("/session/:sessionId/url"));
7478
defineCommand(GET, post("/session/:sessionId/url"));
7579
defineCommand(GO_BACK, post("/session/:sessionId/back"));

0 commit comments

Comments
 (0)