How to Bypass or Automate MacOS Software Check from Python
0
votes
0
answers
61
views
I have a python script running on MacOS that uses Selenium chromedriver. I use chromedriver_autoinstaller to check for and install the latest chromedriver automatically. The problem is, on MacOS, every new chromedriver has to be manually approved as a safe file downloaded from the internet and authorized with admin username and password for it to be able to run. I want this process to be either automatic or to bypass the security check and authorization for (preferably) chromedriver only. I don't want to ever have to authorize or press "Open" on the dialogue window that pops up each time a new version of chromedriver is downloaded. What are the best and safest ways to do this?
I have to authorize the dialogue boxes manually, and I want to automate or bypass this process.
Giving the approval command in https://stackoverflow.com/questions/60362018/macos-catalinav-10-15-3-error-chromedriver-cannot-be-opened-because-the-de requires administrator authentication and then the first time chromedriver runs it requires you to click open in a dialogue box. I am not sure how to automate the administrator authentication and how to click "Open" on the dialogue box in Python. Is there an easy solution to this problem or other workarounds?
Asked by torJamlite903
(1 rep)
Dec 6, 2023, 07:35 PM
Last activity: Dec 6, 2023, 09:38 PM
Last activity: Dec 6, 2023, 09:38 PM