not tested enough apparently

This commit is contained in:
piair 2024-02-28 18:22:15 +01:00
parent 9549a6dea3
commit 49b691d736
3 changed files with 4 additions and 2 deletions

2
V6.py
View File

@ -165,6 +165,8 @@ def do_poll():
try:
answer_elem.click()
except exceptions.ElementNotInteractableException:
warning("element not clickable. Waiting a bit and retrying.")
custom_sleep(uniform(2, 2.5))
driver.execute_script("arguments[0].click();", answer_elem)
custom_sleep(uniform(2, 2.5))
except Exception as err:

View File

@ -30,7 +30,7 @@ class ColoredFormatter(logging.Formatter):
# Set up the root logger
root_logger = logging.getLogger(__name__)
root_logger.setLevel(logging.DEBUG)
root_logger.setLevel(logging.INFO)
# Create a console handler and set the formatter
ch = logging.StreamHandler()

View File

@ -1 +1 @@
v6.8.39
v6.8.40