[Python] PyQt6 WebEngine – Detecting username and password fields on a website

Discussão em 'Python' iniciado por Stack, Abril 10, 2025.

  1. Stack

    Stack Membro Participativo

    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?

    Continue reading...

Compartilhe esta Página