Hi,
Bcs I like to fill this form every time it is generated, I needed to address the fields directly.
This was my solution:
const inside = document.querySelector("#question-list");
const matches = inside.querySelectorAll("input");
matches[10].value='Value';
matches[10].dispatchEvent(new Event('input'));
matches[11].value='Value';
matches[11].dispatchEvent(new Event('input'));
matches[13].value='Value';
matches[13].dispatchEvent(new Event('input'));
matches[16].value='Value';
matches[16].dispatchEvent(new Event('input'));
matches[17].value='Value';
matches[17].dispatchEvent(new Event('input'));
matches[18].value='Value';
matches[18].dispatchEvent(new Event('input'));
matches[19].value='Value';
matches[19].dispatchEvent(new Event('input'));
matches[20].value='Value';
matches[20].dispatchEvent(new Event('input'));
matches[21].value='Value';
matches[21].dispatchEvent(new Event('input'));
matches[22].value='Value';
matches[22].dispatchEvent(new Event('input'));
matches[23].value='
Va...@gmail.com';
matches[23].dispatchEvent(new Event('input'));
matches[24].value='Value';
matches[24].dispatchEvent(new Event('input'));
matches[32].value='';
+ a script for the data field (found on this forum)
+ a solution for the submit button (found on this forum)
big thanks!
Op donderdag 18 mei 2023 om 20:22:23 UTC+2 schreef Autofill Extension: