+1
-2
lines changedFilter options
+1
-2
lines changed Original file line number Diff line number Diff line change
@@ -692,8 +692,7 @@ private void checkNonW3CCapabilities(Capabilities capabilities) {
692
692
693
693
private void checkChromeW3CFalse(Capabilities capabilities) {
694
694
// Throwing warnings when the user sets `w3c: false` inside `goog:chromeOptions`
695
-
if ("chrome".equalsIgnoreCase(capabilities.getBrowserName()) &&
696
-
capabilities.asMap().containsKey("goog:chromeOptions")) {
695
+
if (Browser.CHROME.is(capabilities) && capabilities.asMap().containsKey("goog:chromeOptions")) {
697
696
Object capability = capabilities.getCapability("goog:chromeOptions");
698
697
boolean w3c = true;
699
698
if ((capability instanceof Map)) {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4