I'm unable to tick/click checkbox on IE (through VBA) and it seems I have tried a lot of methods already. Can you please advise?
FYI Elements:
<div class="bordered_table" id="mig-to-prod"> <div class="edl_checkbox floatleft"> <input type="hidden" name="_selectAllConfigs" value="visible" /> <label class="edl_chb"> <input type="checkbox" name="selectAllConfigs" onclick="changeDropDown(this.form);"> <span></span> The checkbox is edl_chb
I have tried:
Html.querySelector("a[title=edl_chb]").Click Html.querySelector("a[title='edl_chb']").Click Html.querySelector("a[title='edl_chb']")(0).Click Html.querySelector("a[title='edl_chb']")(1).Click I have also tried to getelemtsbyclassname