Input Password Object
Select the content of a password field:
The select() method is used to select the content of a password field.
The select() method is supported in all major browsers.