[Error] ‘There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5790’

웹크롤링 중 갑자기 모든 프로그램이 멈춰버려서 재부팅한 후부터 계속 이 에러가 뜨기 시작했다. 이에 대한 시행착오를 기록해두고자 한다.
(아직도 왜 갑자기 이런 현상이 생긴지는 모르겠다.)

1. webdriver 재설치 / 버전 낮추기 실패

!pip uninstall webdriver_manager
!pip install webdriver_manager

2. chromedriver 설치 실패

내 컴퓨터의 크롬 버전에 맞는 chromedriver를 설치했다.(https://googlechromelabs.github.io/chrome-for-testing/)

3. chromedriver 버전을 직접 설정 성공

참고 사이트, https://stackoverflow.com/questions/74011776/valueerror-there-is-no-such-driver-by-url

# before
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrom_options)      

# after
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager(version='114.0.5735.90').install(), options=chrom_options)      

댓글남기기