Python script to enter data in website inputs
I'd suggest considering using selenium Framework
I am trying to write a script to automate a task I'd need to do. So I need this script to check if python is on the /login page and if he is, to enter the username and password for logging in.
For username when logging in, in HTML, it is an input type="text" name="username" and for the password it is an input type="password" name="password". I did search and saw that I should use requests but I only saw them executing POST methods and I'm not sure if this is the case here as well.