OSX fix Selenium Chromedriver launch error spawn Unknown system error -86 Bad CPU type in executable?
问题 Suddenly on the afternoon of January 6, 2021, my Selenium Protractor tests under OSX stopped working with the mysterious error spawn Unknown system error -86 I did some research and discovered that error number 86 is the same as Bad CPU type in executable and ran the following to compare the cpu architecture of my chromedriver binary to my system: % file chromedriver_87.0.4280.88 chromedriver_87.0.4280.88: Mach-O 64-bit executable arm64 % uname -a Darwin kobl179273m 19.6.0 Darwin Kernel