Clipboard history can also be helpful in this context (I use Unclutter on macOS, YMMV), tho it has its pros and cons.
But I have a use case where I really do not want this: when I sign up for multiple accounts in the same browser session, I expect a different password when I've logged out. I use Bitwarden and a text file in this use-case though; not Firefox. Because Bitwarden allows password sentence and I'm supposed to hand over the account to someone else.