Skip to content

Commit

Permalink
grid: remove rewrite of Presto-Opera capability opera.binary
Browse files Browse the repository at this point in the history
  • Loading branch information
andreastt committed Mar 2, 2015
1 parent c724384 commit 7a0e42a
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2011 Selenium committers
Copyright 2011 Software Freedom Conservancy
Copyright 2011-2015 Software Freedom Conservancy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -243,15 +243,6 @@ public void beforeSession(TestSession session) {
cap.put(ChromeOptions.CAPABILITY, options);
}
}

if (BrowserType.OPERA.equals(cap.get(CapabilityType.BROWSER_NAME))) {
if (session.getSlot().getCapabilities().get("opera_binary") != null
&& cap.get("opera.binary") == null) {
session.getRequestedCapabilities().put("opera.binary",
session.getSlot().getCapabilities().get("opera_binary"));
}
}

}
}

Expand Down

0 comments on commit 7a0e42a

Please sign in to comment.