Selenium Python - Advanced Patterns
You wrote this retry decorator but it does not retry on failure. What is the bug?
def retry(func):
def wrapper():
for _ in range(3):
try:
func()
except Exception:
continue
return wrapper