A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/d8474fb16b7d3c94316eeadf84af0d57349cd777 below:

[java] Simplifying condition · SeleniumHQ/selenium@d8474fb · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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