How to create a script which opens the browser and logins to a particular Gmail account?
- by TechGuru
I have created a bash script login.sh. I want it to open the browser and login to my Gmail account.
I tried using the following command to open the browser with www.gmail.com.
xdg-open http://gmail.com
It opens Gmail home page perfectly.
But I don't know how to pass the username and password for login to Gmail from the bash script.
Is it possible to open the browser and login to Gmail from a script?