Skip to content

Commit 2af04d4

Browse files
committed
[java] update warning for setting w3c: false (#10448)
1 parent d830a13 commit 2af04d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/src/org/openqa/selenium/remote/RemoteWebDriver.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,7 @@ private void checkChromeW3CFalse(Capabilities capabilities) {
727727
if (!w3c) {
728728
logger.log(
729729
Level.WARNING,
730-
"Setting 'w3c: true' inside 'goog:chromeOptions' will not be accepted from " +
731-
"Selenium 4.4; " +
730+
"Setting 'w3c: false' inside 'goog:chromeOptions' will no longer be supported " +
732731
"Please update to W3C Syntax: https://www.selenium.dev/blog/2022/legacy-protocol-support/"
733732
);
734733
}

0 commit comments

Comments
 (0)