Skip to content

Instantly share code, notes, and snippets.

@jbottigliero
Last active August 29, 2015 14:01
Show Gist options
  • Save jbottigliero/8dd9d65d7fd447a0ea6e to your computer and use it in GitHub Desktop.
Save jbottigliero/8dd9d65d7fd447a0ea6e to your computer and use it in GitHub Desktop.
inspect-ios-simulator
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
@jbottigliero
Copy link
Author

Fixed menu item name "iPhone Simulator" => "iOS Simulator"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment