Skip to main content

Enabling UI automation for macOS tests

Updated over 9 months ago

Issue

When trying to run a test on a macOS simulator, you might encounter an error that says Timed out while enabling automation mode.

Possible solutions

Use the automationmodetool command line tool to enable automation mode without authentication. To do so, add a Script Step to your Workflow and add the following command to the Step:

sudo automationmodetool enable-automationmode-without-authentication
Did this answer your question?