Does anyone know how i can get automator to type in a password on a website for example. facebook.com

i can use the record feature to do everything else just fine. I've tried pasting the password as well. does anyone have any advice