AXElements is a UI automation library built on top of various OS X
frameworks. You can use AXElements to write functional tests for
Cocoa apps, script UI interactions, or even to build higher level
tools such as screen readers.