Skip to content

Commit a52e30a

Browse files
committed
Handle a Recorder edge case with duplicate actions
1 parent 683661a commit a52e30a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3367,7 +3367,8 @@ def __process_recorded_actions(self):
33673367
if (
33683368
url1 == url2
33693369
or url1 == url2.replace("www.", "")
3370-
or (len(url1) > 0 and url2.startswith(url1)
3370+
or (len(url1) > 0
3371+
and (url2.startswith(url1) or "?search" in url1)
33713372
and (int(srt_actions[n][3]) - int(
33723373
srt_actions[n-1][3]) < 6500))
33733374
):

0 commit comments

Comments
 (0)