Skip to content

Commit e348657

Browse files
committed
[java] Removing deprecated webdriver.chrome.whitelistedIps in ChromeDriverService
1 parent fab49a5 commit e348657

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

java/src/org/openqa/selenium/chrome/ChromeDriverService.java

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ public class ChromeDriverService extends DriverService {
8181
*/
8282
public static final String CHROME_DRIVER_ALLOWED_IPS_PROPERTY = "webdriver.chrome.withAllowedIps";
8383

84-
/**
85-
* System property that defines comma-separated list of remote IPv4 addresses which are allowed to
86-
* connect to ChromeDriver.
87-
*
88-
* @deprecated use {@link #CHROME_DRIVER_ALLOWED_IPS_PROPERTY}
89-
*/
90-
@Deprecated
91-
public static final String CHROME_DRIVER_WHITELISTED_IPS_PROPERTY =
92-
"webdriver.chrome.whitelistedIps";
93-
9484
/**
9585
* System property that defines whether the ChromeDriver executable should check for build version
9686
* compatibility between ChromeDriver and the browser.
@@ -333,10 +323,7 @@ protected void loadSystemProperties() {
333323
withSilent(Boolean.getBoolean(CHROME_DRIVER_SILENT_OUTPUT_PROPERTY));
334324
}
335325
if (allowedListIps == null) {
336-
this.allowedListIps =
337-
System.getProperty(
338-
CHROME_DRIVER_ALLOWED_IPS_PROPERTY,
339-
System.getProperty(CHROME_DRIVER_WHITELISTED_IPS_PROPERTY));
326+
this.allowedListIps = System.getProperty(CHROME_DRIVER_ALLOWED_IPS_PROPERTY);
340327
}
341328
if (logLevel == null && System.getProperty(CHROME_DRIVER_LOG_LEVEL_PROPERTY) != null) {
342329
String level = System.getProperty(CHROME_DRIVER_LOG_LEVEL_PROPERTY);

0 commit comments

Comments
 (0)