Piyush -
You could write a python (or your preferred language) script that just requests the HTML, parses it, and follows the hierarchy, without using selenium. This could be a bunch of work as the site doesn't use regular links with GET requests, but rather when you click on a state in the table, it uses Javascript to fill up hidden form fields with the state code, etc. and then does a form submit, causing a POST request to be made with those values.
For eg. you can see the links in the table have an onClick handler like "selectState(2,'HIMACHAL PRADESH','preloginDistrictInfrastructureReports2020.html')" .
Then, in the javascript, you can see the selectState function defined like so:
function selectState(stateCode,stateName,action){
$("#stateCode").val(stateCode);
$("#stateName").val(stateName);
$("#reportForm").attr('action', action);
$("#reportForm").submit(); }
So this will make a POST request to preloginDistrictInfrastructureReports2020.html
with stateCode=2, stateName=HIMACHAL PRADESH
Similarly, there are different onCick handlers defined for selecting districts, etc. that you can follow down to see what URLs they are calling with what parameters. And in theory, you could write some HTML parsing code and some regex to go through the items in each table, parse out the parameters and URLs to call, and follow things down.
So, in theory you could write this without mucking around with selenium, but it also seems like a lot more work than if the site was structured "normally" with unique URLs and GET requests.
For the page numbering, this seems okay: the HTML outputs all the items across all the pages, and then the actual pagination on the page is purely client-side javascript - so if you were to read the HTML on the page via python or so, you would just get all the items in the table without having to worry about pagination.
Unfortunately, this does seem like a lot of work and I don't really have the time to do anything, but it seemed like an interesting problem and I was curious so I took a look. Hope it could help a bit.
All the best,
Sanjay