I know you can open webpages quite simply using the webbrowser module like:
import webbrowser
webbrowser.open('http://www.google.com')
but is it possible to pass log-in credentials to these websites? I would like to create a script that automates some stuff that I do on a regular basis, for example, open gmail in firefox to check my mail.
In addition, if it is possible to do so, can you somehow provide your password in this script in a secure way? So rather than plainly saying in the code:
pw = "defaultPass123"
webbrowser.sendPass(pw) # made up function, I don't think this actually works :)
you could somehow encrypt this data?