for ages I've wanted to make an extension for exactly this problem, except my plan was to save the attributes and contents of every input on the page so it could be helpful with long complex multi-stage forms with heaps of tiny input elements, too (imo that's the bigger problem needing automation, because users can easily copy from huge text inputs). thanks for the reference!
@jonk @oreolek @j3s Let me know if you make that, please! I've been manually copy-pasting to a text file…