I am building a web browser with PyQt6 and its WebEngine framework, and would like to make a password manager that enters usernames and passwords directly into websites in the WebEnginePage being displayed. I know how to store passwords, and associate them with a website, but I cannot figure out how to detect the specific input fields on the website that I want to save. I am also not sure of how to alter the fields on the website to make it display the passwords.
I am aware of the html input types "password" and "email", but not all websites will necessarily use them. Is there some way to find specific html form inputs that correspond to usernames and passwords, and then to insert them in a such a way that a user can still send them back to the website?
passwordandemailthen program should allow to select fields by user manually. I see this method in password managerKeePassXCand I think other password managers may have also this functionallity - and later program should remember url and fields.