We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\n
1 parent 2913f31 commit 5ec078aCopy full SHA for 5ec078a
seleniumbase/js_code/recorder_js.py
@@ -37,7 +37,9 @@
37
while (el !== null && el.nodeType === Node.ELEMENT_NODE) {
38
var selector = el.nodeName.toLowerCase();
39
if (el.hasAttribute(attr) &&
40
- el.getAttribute(attr).length > 0) {
+ el.getAttribute(attr).length > 0 &&
41
+ !el.getAttribute(attr).includes('\n'))
42
+ {
43
the_attr = el.getAttribute(attr);
44
if (the_attr.includes('"'))
45
the_attr = the_attr.replace('"', '\\"');
0 commit comments