Last active
August 29, 2015 14:01
-
-
Save jbottigliero/8dd9d65d7fd447a0ea6e to your computer and use it in GitHub Desktop.
inspect-ios-simulator
This file contains hidden or 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 | |
end tell | |
try | |
tell application "System Events" to tell process "Safari" | |
click menu item 2 of menu of menu item "iOS Simulator" of menu 1 of menu bar item "Develop" of menu bar 1 | |
end tell | |
on error error_message | |
return error_message | |
end try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed menu item name "iPhone Simulator" => "iOS Simulator"