File tree 1 file changed +3
-4
lines changed
java/client/src/org/openqa/selenium/remote/http
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,6 @@ public JsonHttpCommandCodec() {
70
70
defineCommand (GET_CURRENT_WINDOW_HANDLE , get ("/session/:sessionId/window_handle" ));
71
71
defineCommand (GET_WINDOW_HANDLES , get ("/session/:sessionId/window_handles" ));
72
72
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
-
77
73
defineCommand (GET_CURRENT_URL , get ("/session/:sessionId/url" ));
78
74
defineCommand (GET , post ("/session/:sessionId/url" ));
79
75
defineCommand (GO_BACK , post ("/session/:sessionId/back" ));
@@ -178,6 +174,9 @@ public JsonHttpCommandCodec() {
178
174
// https://code.google.com/p/selenium/source/browse/spec-draft.md?repo=mobile
179
175
defineCommand (GET_NETWORK_CONNECTION , get ("/session/:sessionId/network_connection" ));
180
176
defineCommand (SET_NETWORK_CONNECTION , post ("/session/:sessionId/network_connection" ));
177
+ defineCommand (SWITCH_TO_CONTEXT , post ("/session/:sessionId/context" ));
178
+ defineCommand (GET_CURRENT_CONTEXT_HANDLE , get ("/session/:sessionId/context" ));
179
+ defineCommand (GET_CONTEXT_HANDLES , get ("/session/:sessionId/contexts" ));
181
180
}
182
181
183
182
@ Override
You can’t perform that action at this time.
0 commit comments