Skip to content

Commit db556c1

Browse files
committed
Update the Recorder
1 parent ef215b6 commit db556c1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

seleniumbase/extensions/recorder.zip

10 Bytes
Binary file not shown.

seleniumbase/js_code/active_css_js.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
return /\d/.test(str);
104104
};
105105
function isGen(str) {
106-
return /[_-]\d/.test(str);
106+
return /[_-]\d/.test(str) || /\d[a-z]/.test(str);
107107
};
108108
function tagName(el) {
109109
return el.tagName.toLowerCase();

seleniumbase/js_code/recorder_js.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
return /\d/.test(str);
104104
};
105105
function isGen(str) {
106-
return /[_-]\d/.test(str);
106+
return /[_-]\d/.test(str) || /\d[a-z]/.test(str);
107107
};
108108
function tagName(el) {
109109
return el.tagName.toLowerCase();

0 commit comments

Comments
 (0)