We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7958a9 commit 5ac0fbaCopy full SHA for 5ac0fba
java/server/src/org/openqa/grid/selenium/proxy/DefaultRemoteProxy.java
@@ -17,8 +17,6 @@
17
18
package org.openqa.grid.selenium.proxy;
19
20
-import com.google.gson.JsonObject;
21
-
22
import org.openqa.grid.common.RegistrationRequest;
23
import org.openqa.grid.common.SeleniumProtocol;
24
import org.openqa.grid.common.exception.RemoteException;
@@ -240,7 +238,7 @@ public void beforeSession(TestSession session) {
240
238
if (options == null) {
241
239
options = new HashMap<String, Object>();
242
}
243
- options.put("binary", (String) session.getSlot().getCapabilities().get("chrome_binary"));
+ options.put("binary", session.getSlot().getCapabilities().get("chrome_binary"));
244
cap.put(ChromeOptions.CAPABILITY, options);
245
246
0 commit comments