Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 633 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 633 Bytes

UIAConsole

Simple tool to add a real-time console to Apple's UI Automation scripting

Quickstart

  1. Clone this repo into your project directory: git clone git://github.com/jdoxey/uia-console.git
  2. Create a UIAutomation script which imports UIAConsole: #import "uia-console/UIAConsole.js"
  3. Where you want your script to break, add: UIAConsole.breakpoint();
  4. Run your script from Instruments (command-i) and wait for the browser to pop up.
  5. Submit script you'd normally see in a UIAutomation script (check for output in the Instruments console)
  6. Hit "Continue" to run the rest of your script