Using Automator to login to websites
Trying to use Automator to open Firefox, type login name, tab, type Password, click icon. I can't get it to type the Password. Keeps coming up blank. Help
Trying to use Automator to open Firefox, type login name, tab, type Password, click icon. I can't get it to type the Password. Keeps coming up blank. Help
You can have a .html file (the site) to open in a browser (or have the site in the browser's home page) - with one click on it.
You can have that browser have the page with your username and password already filled in from last session and remembered already sitting there. One more click and you are logged in.
Two clicks - and you have put automator in the dust.
The site I'm using prohibits saving the username and password. It's a Citrix login page to access a web based application.
I use a couple of sites like that as well that don't allow the saving of username and password. I think it is a security feature to make them less prone to break in.
Honestly, I don't use automator at all, so i have no tips there. Sorry I can't progress this for you.
You can use an Applescript in Automator along the lines of:
tell application "System Events" to delay 5.5
tell application "System Events" to keystroke "userid"
tell application "System Events" to delay 0.5
tell application "System Events" to keystroke tab
tell application "System Events" to delay 0.5
tell application "System Events" to keystroke "password"
tell application "System Events" to delay 0.5
tell application "System Events" to keystroke return
Regards,
Shawn
Thanks Shawn - this helped me tremendously to get automator to login to a form-based authentication website. The standard automator didn't really have the examples or the recording ability to track the actual steps I needed.
By getting to the web site login page I was trying to log into, these commands got me the right keystrokes to enter user name and password for the site.
I used the standard scripts to get to the website page -- then inserted an Applescript snippet
run script "tell application \"System Events\" to keystroke \"username\" "
run script "tell application \"System Events\" to keystroke tab "
run script "tell application \"System Events\" to keystroke \"password\" "
Then
Then - I was golden. Thanks.
Using Automator to login to websites