[java] Amending logic to warn users when `w3c: true` in `goog:chromeOptions`
Helps with
[skip ci]
@@ -725,7 +725,7 @@ private void checkChromeW3CFalse(Capabilities capabilities) {
boolean w3c = true;
if ((capability instanceof Map)) {
Object rawW3C = ((Map<?, ?>) capability).get("w3c");
- w3c = Boolean.parseBoolean(String.valueOf(rawW3C));
+ w3c = rawW3C == null || Boolean.parseBoolean(String.valueOf(rawW3C));
}
if (!w3c) {
logger.log(
