I am trying to scrape https://public.rts.iebc.or.ke/enr/index.html#/Kenya_Elections_Senator/1
with HtmlAgilityPack. It is a dynamic site. The content is shown after the page loads completely.My code returns the HTML of the loading bar through this method while this method throws TargetInvocationException. I don't know how to make it wait until the page loads completely and then scrape it.