A
A
AnteFil2021-12-11 10:28:48
Browsers
AnteFil, 2021-12-11 10:28:48

How to save page from browser to disk programmatically (automatically)?

How to save page from browser to disk programmatically (automatically)?
Not a single third-party program is suitable. It is necessary from the browser
. I can launch the browser through the batch file, but I don’t know how to save the page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-12-11
@AnteFil

Chrome can be run in headless mode and get the entire HTML of the page from it to stdout. Well, you can probably redirect it to a file on Windows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question