Selenium Python - Advanced Patterns
What is wrong with this retry decorator that causes it to retry only once?
def retry(func):
def wrapper():
try:
return func()
except Exception:
return func()
return wrapper