-
-
Save anddam/a7c6b11fc289c061514a 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 "Safari" | |
activate | |
open location "http://www.google.com" | |
delay 3 | |
set theScript to "document.getElementById('lst-ib').value = 'hello world'" | |
do JavaScript theScript in current tab of first window | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment