macOS / binaries /

automationmodetool

/usr/bin/automationmodetool
Manage UI automation security preferences

automationmodetool can be used to configure a device such that Automation Mode for UI testing can be enabled without user authentication. This is useful for configuring machines in continuous integration (CI) environments as well as those in labs where the active users do not have administrator privileges. Running the tool for this purpose requires an administrator to authenticate in the shell.

source: man