Category "page-load-time"

How to wait for the page to load in HtmlUnit not HtmlUnitDriver

I have a selenium code below which wait for the page to load before the action(click button) is performed. How do I do the same thing with HtmlUnit not HtmlUnit

Is there any way to download daily historical data (1 year period) through Google PageSpeed Insights in CSV or Excel format for different websites?

I am writing my master's thesis regarding website performance, SEO, and customer engagement. In terms of my thesis topic, I need the below daily historical data