add callback function in auto click javascript code example
Example: javascript automatic click
const element = document.querySelector('element');
element.click();
const element = document.querySelector('element');
element.click();