On a webpage, there is a functionality where a checkbox can be clicked to select all the checkboxes below it. This is accomplished by invoking a JavaScript function on click.
However, when attempting to select that checkbox using VBScript with .getElementById("").checked = true, only that specific checkbox is selected and the ones beneath it remain unchecked.
This limitation arises because using getElementID only selects the specific checkbox and does not trigger the JavaScript function.
Could anyone provide guidance on how to call that function or suggest alternative methods to select all the checkboxes?
Important Note: It is not possible to modify the HTML contents of the webpage in question.