How to load a saved web then run a macro?

I recommend to use the new “ui.vision.html” method instead of the old “export html”. See here for the correct command line: