Re #214 - configurable wait extra seconds for webdriver requests before extracting text (#606)

This commit is contained in:
dgtlmoon
2022-05-17 18:35:33 +02:00
committed by GitHub
parent 31fea55ee4
commit 67c833d2bc
10 changed files with 62 additions and 6 deletions

View File

@@ -41,7 +41,8 @@ class model(dict):
'notification_body': default_notification_body,
'notification_format': default_notification_format,
'real_browser_save_screenshot': True,
'schema_version' : 0
'schema_version' : 0,
'webdriver_delay': None # Extra delay in seconds before extracting text
}
}
}

View File

@@ -43,7 +43,8 @@ class model(dict):
# Re #110, so then if this is set to None, we know to use the default value instead
# Requires setting to None on submit if it's the same as the default
# Should be all None by default, so we use the system default in this case.
'time_between_check': {'weeks': None, 'days': None, 'hours': None, 'minutes': None, 'seconds': None}
'time_between_check': {'weeks': None, 'days': None, 'hours': None, 'minutes': None, 'seconds': None},
'webdriver_delay': None
}
def __init__(self, *arg, **kw):