We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2d8a8 commit 48ce781Copy full SHA for 48ce781
java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java
@@ -242,6 +242,7 @@ private static FirefoxOptions getFirefoxOptions(Capabilities capabilities) {
242
if (marionette instanceof Boolean) {
243
options.setLegacy(!(Boolean) marionette);
244
}
245
+
246
return options;
247
248
@@ -302,7 +303,7 @@ private static Capabilities dropCapabilities(Capabilities capabilities) {
302
303
// Ensure that the proxy is in a state fit to be sent to the extension
304
Proxy proxy = Proxy.extractFrom(capabilities);
305
if (proxy != null) {
- caps.setCapability(PROXY, new BeanToJsonConverter().convert(proxy));
306
+ caps.setCapability(PROXY, proxy);
307
308
309
return caps;
0 commit comments