Skip to content

Commit 46e2172

Browse files
committed
Fix bug with recording double-clicks
1 parent a462f4f commit 46e2172

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,6 +4669,12 @@ def __process_recorded_actions(self):
46694669
srt_actions[n - 2][0] = "_skip"
46704670
srt_actions[n - 1][0] = "_skip"
46714671
srt_actions[n][1] = srt_actions[n - 1][1]
4672+
for n in range(len(srt_actions)):
4673+
if (
4674+
srt_actions[n][0] == "dbclk"
4675+
and srt_actions[n][1] == ""
4676+
):
4677+
srt_actions[n][0] = "_skip"
46724678
for n in range(len(srt_actions)):
46734679
if (
46744680
srt_actions[n][0] == "cho_f"

0 commit comments

Comments
 (0)