Fallseite bei gescheitertem Scan und Schnappschuss bei untypischen Elementen

This commit is contained in:
Rsclub2_2 committed 2026-11-15 03:23:22 +01:00
1 parent 95a23c0e45
commit 89538ed67c
6 files changed
+34 -3

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ SNAPSHOT_JS = """
else if (wrap && tag !== 'label') label = wrap.innerText + ' ' + label;
const item = {n, tag, type, label: label.replace(/\\s+/g, ' ').trim().slice(0, maxLabel)};
if (tag === 'select') item.options = Array.from(el.options).map(o => o.text.trim()).slice(0, maxOptions);
if (type === 'checkbox' || type === 'radio') item.checked = el.checked;
if (tag === 'input' && (type === 'checkbox' || type === 'radio')) item.checked = el.checked;
elements.push(item);
}
const captcha = !!document.querySelector(