Skip to content

Commit 2f56b9c

Browse files
committed
Allow use of "page_actions" without "BaseCase"
1 parent b0563d5 commit 2f56b9c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

seleniumbase/fixtures/shared_utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ def __time_limit_exceeded(message):
7676

7777

7878
def check_if_time_limit_exceeded():
79-
if sb_config.time_limit and not sb_config.recorder_mode:
79+
if (
80+
hasattr(sb_config, "time_limit")
81+
and sb_config.time_limit
82+
and not sb_config.recorder_mode
83+
):
8084
time_limit = sb_config.time_limit
8185
now_ms = int(time.time() * 1000)
8286
if now_ms > sb_config.start_time_ms + sb_config.time_limit_ms:

0 commit comments

Comments
 (0)