[js] Add default Opera capabilities. Fixes
@@ -282,6 +282,13 @@ class Capabilities {
return new Capabilities().setBrowserName(Browser.SAFARI)
}
+ /**
+ * @return {!Capabilities} A basic set of capabilities for Opera
+ */
+ static opera() {
+ return new Capabilities().setBrowserName(Browser.OPERA)
+ }
+
/**
* @return {!Object<string, ?>} The JSON representation of this instance.
* Note, the returned object may contain nested promised values.
