I have a Jenkins config that executes Java tests for OS X app using Maven. And when I\'m trying to run some AppleScript that requires assistive access for it, different erro
I think you answer your own question. You can allow assistive access for Script Editor (among other things). It works fine in Script Editor.
You can try and add other applications to have assistive access. This might be an option if Script Editor does not give you want you want.