I'm looking to programmatically download the webpage output to save us html and also resources css and js and images used on the webpage, Is it possible with chrome driver?
Anybody did any functionality similar using ChromeDriver headless or any other pointers or sample code references would be appreciated?
I did a few investigations, Out of the box Chrome Driver, due to security reason this feature not enabled to download all the resources and HTML by save-as using Chrome driver.
I have started creating a separate project myself to download all the resources and HTML using Chrome driver, still fine tuning this project for better, maybe this code can be useful at the starting point.
I hope it helps