make ConnectionType searilize as integer
expects connection type to be serialized to an integer as well as
chromedriver does not accept currently sent string value.
@@ -109,8 +109,8 @@ public String toString() {
return Integer.toString(mask);
}
- public String toJson() {
- return toString();
+ public Integer toJson() {
+ return mask;
}
}
