Skip to content

Commit e24ea9e

Browse files
committed
Update Recorder Mode
1 parent 7458da8 commit e24ea9e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4450,6 +4450,7 @@ def __process_recorded_actions(self):
44504450
import unicodedata
44514451

44524452
action[1][0] = unicodedata.normalize("NFKC", action[1][0])
4453+
action[1][0] = action[1][0].replace("\n", "\\n")
44534454
method = "assert_text"
44544455
if action[0] == "as_et":
44554456
method = "assert_exact_text"

seleniumbase/js_code/recorder_js.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@
526526
});
527527
document.body.addEventListener('mousedown', function (event) {
528528
reset_if_recorder_undefined();
529+
new_tab_on_new_origin();
529530
if (sessionStorage.getItem('pause_recorder') === 'yes') return;
530531
const d_now = Date.now();
531532
el = event.target;

0 commit comments

Comments
 (0)