Re #267 - Pass settings for the proxy setup for webdriver (#326)

* Re #267 - Pass HTTP_PROXY as the proxy setup for webdriver
* Update README.md
This commit is contained in:
dgtlmoon
2021-12-28 17:07:41 +01:00
committed by GitHub
parent ee708cc395
commit 8ec17a4c83
4 changed files with 39 additions and 22 deletions

View File

@@ -106,10 +106,12 @@ class ValidateContentFetcherIsReady(object):
except urllib3.exceptions.MaxRetryError as e:
driver_url = some_object.command_executor
message = field.gettext('Content fetcher \'%s\' did not respond.' % (field.data))
message += '<br/>'+field.gettext('Be sure that the selenium/webdriver runner is running and accessible via network from this container/host.')
message += '<br/>' + field.gettext(
'Be sure that the selenium/webdriver runner is running and accessible via network from this container/host.')
message += '<br/>' + field.gettext('Did you follow the instructions in the wiki?')
message += '<br/><br/>' + field.gettext('WebDriver Host: %s' % (driver_url))
message += '<br/><a href="https://github.com/dgtlmoon/changedetection.io/wiki/Fetching-pages-with-WebDriver">Go here for more information</a>'
message += '<br/>'+field.gettext('Content fetcher did not respond properly, unable to use it.\n %s' % (str(e)))
raise ValidationError(message)