Created
September 25, 2012 12:50
-
-
Save peutetre/3781590 to your computer and use it in GitHub Desktop.
Show Safari remote inspector from the command line
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
try | |
tell application "Safari" to activate | |
tell application "System Events" | |
tell process "Safari" | |
tell menu bar 1 | |
tell menu bar item "Develop" | |
tell menu "Develop" | |
tell menu "iPhone Simulator" of menu item "iPhone Simulator" | |
delay 1 | |
click menu item "index.html" | |
end tell | |
end tell | |
end tell | |
end tell | |
key code 36 | |
end tell | |
end tell | |
end try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment