How to use DOMContentLoaded in page load strategy?

How to use DOMContentLoaded in page load strategy ?

Hi Junior,

To use DOMContentLoaded even in page load strategy, you have to add the below line of code in your automation script.

chromeOptions.setPageLoadStrategy(PageLoadStrategy.EAGER);