There was an error while loading. Please reload this page.
1 parent 65b2536 commit 21e5734Copy full SHA for 21e5734
1 file changed
java/client/src/org/openqa/selenium/remote/RemoteTags.java
@@ -57,7 +57,7 @@ private RemoteTags() {
57
private static String convertCapsToJsonString(Capabilities capabilities) {
58
StringBuilder text = new StringBuilder();
59
try (JsonOutput json = JSON.newOutput(text).setPrettyPrint(false)) {
60
- json.write(capabilities.asMap());
+ json.write(capabilities);
61
text.append('\n');
62
}
63
return text.toString();
0 commit comments