Skip to content

Commit 7a0e42a

Browse files
committed
grid: remove rewrite of Presto-Opera capability opera.binary
1 parent c724384 commit 7a0e42a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

java/server/src/org/openqa/grid/selenium/proxy/DefaultRemoteProxy.java

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Copyright 2011 Selenium committers
3-
Copyright 2011 Software Freedom Conservancy
3+
Copyright 2011-2015 Software Freedom Conservancy
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -243,15 +243,6 @@ public void beforeSession(TestSession session) {
243243
cap.put(ChromeOptions.CAPABILITY, options);
244244
}
245245
}
246-
247-
if (BrowserType.OPERA.equals(cap.get(CapabilityType.BROWSER_NAME))) {
248-
if (session.getSlot().getCapabilities().get("opera_binary") != null
249-
&& cap.get("opera.binary") == null) {
250-
session.getRequestedCapabilities().put("opera.binary",
251-
session.getSlot().getCapabilities().get("opera_binary"));
252-
}
253-
}
254-
255246
}
256247
}
257248

0 commit comments

Comments
 (0)