Click event not triggered on checkbox

Hi Guys,

Can some one provide inputs on below script, i was not able to select the checkbox through script.

logData 0
navigate Robot or human?
logData 1
setEventName scrollDown
execAndWait window.scrollBy(0,1000)
clickAndWait document.querySelector(‘input[type=checkbox]’)[0].click()

script was working only till scroll.
[hr]
Below is the test run

could you try dispatching a custom event from the checkbox, like
document.querySelector(‘input[type=checkbox]’)[0].dispatchEvent(new InputEvent(“input”))