#1프로그래밍/#1-2파이썬 문제해결

[python, selenium] session not created: This version of ChromeDriver only supports Chrome version 106 에러 해결

HopeDeveloper 2023. 1. 2. 22:16

1. 에러 발생 코드

self.browser = webdriver.Chrome()

 

2. 원인

Current browser version is 108.0.5359.125 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

-> chromedriver.exe 버전이 내 컴퓨터의 크롬 버전과 다르다.

 

3. 해결 방법

 1) 크롬 드라이버 다운로드 : https://chromedriver.chromium.org/downloads

 

ChromeDriver - WebDriver for Chrome - Downloads

Current Releases If you are using Chrome version 109, please download ChromeDriver 109.0.5414.25 If you are using Chrome version 108, please download ChromeDriver 108.0.5359.71 If you are using Chrome version 107, please download ChromeDriver 107.0.5304.62

chromedriver.chromium.org

 - 경로 선택

- 108 버전 다운로드

- 윈도우 드라이버 다운로드

 

* 해결 완료 ㅎㅎㅎ