Electron automated testing on MacOS: accept Accessibility Access programatically I have an electron app that I am running automated tests on (via Puppeteer).