diff --git a/java/src/org/openqa/selenium/remote/Browser.java b/java/src/org/openqa/selenium/remote/Browser.java
index <HASH>..<HASH> 100644
--- a/java/src/org/openqa/selenium/remote/Browser.java
+++ b/java/src/org/openqa/selenium/remote/Browser.java
@@ -72,4 +72,8 @@ public interface Browser {
       return browserName().equals(browserName) || "Safari".equals(browserName);
     }
   };
+
+  default String toJson() {
+    return browserName();
+  }
 }
Add a `toJson` method to `Browser` so it becomes easier to use in Capabilities