File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
java/client/src/org/openqa/selenium/firefox/internal Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -192,9 +192,8 @@ public Response execute(Command command) throws IOException {
192
192
Map <String , Object > map = new JsonToBeanConverter ().convert (Map .class , rawResponse );
193
193
Response response ;
194
194
if (DriverCommand .NEW_SESSION .equals (command .getName ())) {
195
- // See https://bugzilla.mozilla.org/show_bug.cgi?id=1073732
196
- response = new Response (new SessionId (new BeanToJsonConverter ().convert (map .get ("value" ))));
197
- response .setValue (Maps .newHashMap ());
195
+ response = new Response (new SessionId (map .get ("sessionId" ).toString ()));
196
+ response .setValue (map .get ("value" ));
198
197
199
198
} else {
200
199
if (map .containsKey ("error" )) {
@@ -307,7 +306,7 @@ private String serializeCommand(Command command) {
307
306
map .put ("name" , commandName );
308
307
if (command .getSessionId () != null ) {
309
308
// See https://bugzilla.mozilla.org/show_bug.cgi?id=1073732
310
- map .put ("sessionId" , new JsonToBeanConverter (). convert ( Map . class , command .getSessionId ().toString () ));
309
+ map .put ("sessionId" , command .getSessionId ().toString ());
311
310
}
312
311
map .put ("parameters" , params );
313
312
You can’t perform that action at this time.
0 commit comments