1. 문제 발생
M1에서 Selenium 을 실행할 때 발생되는 오류에 대해 알아보고자 한다.
이는 Apple 보안 정책 때문에 발생하는 오류지만 간단한 명령어 하나로 해결할 수 있다.
Error: “chromedriver” cannot be opened because the developer cannot be verified.
2. 해결 방법
chromedriver 가 있는 경로에 터미널을 실행해, 해당 명령어를 입력하면 해결된다.
xattr -d com.apple.quarantine chromedriver