How to save a web page snapshot with all its elements (css, js, images, ...) into one file
HTTrack, -%M
Use wget in terminal
wget -p -k http://www.example.com/
It'll make a clone of site frontend html, css, js, svg etc. But not in one file as asked.
Docs: https://www.gnu.org/software/wget/manual/wget.html