We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0563d5 commit 2f56b9cCopy full SHA for 2f56b9c
seleniumbase/fixtures/shared_utils.py
@@ -76,7 +76,11 @@ def __time_limit_exceeded(message):
76
77
78
def check_if_time_limit_exceeded():
79
- if sb_config.time_limit and not sb_config.recorder_mode:
+ if (
80
+ hasattr(sb_config, "time_limit")
81
+ and sb_config.time_limit
82
+ and not sb_config.recorder_mode
83
+ ):
84
time_limit = sb_config.time_limit
85
now_ms = int(time.time() * 1000)
86
if now_ms > sb_config.start_time_ms + sb_config.time_limit_ms:
0 commit comments