Adding new proxyType to selenium mappings

This commit is contained in:
dgtlmoon
2021-12-31 10:48:11 +01:00
parent 8a825f0055
commit 735fc2ac8e
2 changed files with 6 additions and 3 deletions

View File

@@ -68,9 +68,12 @@ class html_webdriver(Fetcher):
# Configs for Proxy setup
# In the ENV vars, is prefixed with "webdriver_", so it is for example "webdriver_sslProxy"
selenium_proxy_settings_mappings = ['ftpProxy', 'httpProxy', 'noProxy',
selenium_proxy_settings_mappings = ['proxyType', 'ftpProxy', 'httpProxy', 'noProxy',
'proxyAutoconfigUrl', 'sslProxy', 'autodetect',
'socksProxy', 'socksVersion', 'socksUsername', 'socksPassword']
proxy=None
def __init__(self):