Skip to content

Commit 2382951

Browse files
committed
[java] forgot to add withAllowedListIps() in ChromeDriverService
1 parent f4a1f1b commit 2382951

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

+12
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,18 @@ public Builder withWhitelistedIps(String allowedListIps) {
269269
return this;
270270
}
271271

272+
/**
273+
* Configures the comma-separated list of remote IPv4 addresses which are allowed to connect
274+
* to the driver server.
275+
*
276+
* @param allowedListIps Comma-separated list of remote IPv4 addresses.
277+
* @return A self reference.
278+
*/
279+
public Builder withAllowedListIps(String allowedListIps) {
280+
this.allowedListIps = allowedListIps;
281+
return this;
282+
}
283+
272284
/**
273285
* Configures the format of the logging for the driver server.
274286
*

0 commit comments

Comments
 (0)