Created
March 26, 2011 03:44
-
-
Save laclefyoshi/888006 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Google Chrome" | |
tell window 1 | |
set newTab to make new tab with properties {URL:"https://bitbucket.org/account/signin/"} | |
repeat while loading of active tab | |
delay 0.1 | |
end repeat | |
tell active tab | |
execute javascript "document.forms[1]['id_username'].value = 'bitbucket_mail@gmail.com'" | |
execute javascript "document.forms[1]['id_password'].value = 'bitbucket_password'" | |
execute javascript "document.forms[1].childNodes[8].childNodes[1].click()" | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment