Method: AX::Element#perform
- Defined in:
- lib/ax/element.rb
#perform(action) ⇒ Boolean
Tell an object to trigger an action.
For instance, you can tell a button to call the same method that would be called when pressing a button, except that the mouse will not move over to the button to press it, nor will the keyboard be used.
226 227 228 |
# File 'lib/ax/element.rb', line 226 def perform action @ref.perform TRANSLATOR.cocoaify action end |