Skip to content

Commit

Permalink
Fix session payload in sync with other clients ruby and python
Browse files Browse the repository at this point in the history
  • Loading branch information
SrinivasanTarget committed Jun 13, 2018
1 parent e8108ac commit a50785e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,13 @@ public void writeTo(Appendable appendable) throws IOException {
json.beginObject();

json.name(ALWAYS_MATCH);
json.write(first);
getW3C().forEach(json::write);

json.name(FIRST_MATCH);
json.beginArray();
//noinspection unchecked
getW3C().forEach(json::write);
json.beginObject();
json.endObject();
json.endArray();

json.endObject(); // Close "capabilities" object
Expand Down

0 comments on commit a50785e

Please sign in to comment.