Skip to content

Commit de5b03b

Browse files
committed
[js] Add warning when ftp proxy is used
Related to #15905
1 parent 56f3075 commit de5b03b

File tree

1 file changed

+3
-0
lines changed
  • javascript/selenium-webdriver/lib

1 file changed

+3
-0
lines changed

javascript/selenium-webdriver/lib/proxy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ function direct() {
156156
* @return {!ManualConfig} A new proxy configuration object.
157157
*/
158158
function manual({ ftp, http, https, bypass }) {
159+
if (ftp !== undefined) {
160+
console.warn('ftpProxy is deprecated and will be removed in the future')
161+
}
159162
return {
160163
proxyType: Type.MANUAL,
161164
ftpProxy: ftp,

0 commit comments

Comments
 (0)