I am familiar with Safari on my Mac. Safari usually can recognize a registration form prompting for a new password. In such case, Safari automatically offers to generate a new random password.
Does Firefox 71 offer such a feature? I have somehow managed to save passwords in Firefox. But Firefox never offers to generate a password.