Skip to content

Commit 10a0957

Browse files
committed
Update Recorder Mode script-generation
1 parent 2375a77 commit 10a0957

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3486,6 +3486,15 @@ def __process_recorded_actions(self):
34863486
and srt_actions[n - 1][2] == ""
34873487
):
34883488
srt_actions[n - 1][0] = "_skip"
3489+
elif (
3490+
srt_actions[n][0] == "input"
3491+
and n > 1
3492+
and srt_actions[n - 2][0] == "input"
3493+
and srt_actions[n - 1][0] == "submi"
3494+
and srt_actions[n - 2][1].startswith("textarea")
3495+
and srt_actions[n - 2][1] == srt_actions[n][1]
3496+
):
3497+
srt_actions[n - 2][0] = "_skip"
34893498
for n in range(len(srt_actions)):
34903499
if (
34913500
(srt_actions[n][0] == "begin" or srt_actions[n][0] == "_url_")

0 commit comments

Comments
 (0)