lolay/apple-dev — pull request #1 by skunkworks (2014-06-25 19:37:40+00:00)
Title: Better handling of login page and form field detection

There will always be some amount of coupling required to the specifics of Apple's login page (how to detect when a login form is presented).

Rather than search for specific field names, this approach looks at the URL to see if it contains "login". If so, it grabs the first form (which will invariably be the login form), fills in the "text" type field with the login email, and fills in the "password" type field with the password.