Appium for Mac can control Mac applications using Selenium / WebDriver. Checkout the example which will control the calculator app.
Go to System Preferences > Accessibility (or Universal Access) on older Mac OS X versions and enable "Access for Assistive Devies"