UI Automation JavaScript Reference for iOS

Use the UI Automation JavaScript library to write test scripts that exercise your iOS app’s user interface elements while the app runs on a connected device. You write the tests in JavaScript, calling the UI Automation API to simulate user interaction. The system returns log information to the host computer.