I am trying to fix a piece of Java code that has been reliably scraping web data from a particular web page for a few years using the HtmlUnit library and headless browser.
The owner of the web page I'm trying to get data from has recently updated it, and it now contains a Grid produced by Kendo UI.
I am more of a backend developer, and I am unfamiliar with Kendo UI and Javascript frameworks.
I am trying to select this checkbox, but the Kendo UI elements are not behaving like the HTML elements I'm used to scripting for with HtmlUnit.
<th scope="col" role="columnheader" data-field="d2" rowspan="1" data-index="0" id="5f92c0d9-2023-428a-866d-7e62733448cb" class="k-header">
<center>
<input type="checkbox" class="checkbox" id="checkALL" onclick="handleCheckALLClick(this);">
</center>
</th>
Any assistance on how to interact with Kendo UI elements using Java and HtmlUnit would be greatly appreciated.