김빵디

session not created: This version of ChromeDriver only supports Chrome version 101 에러 해결방법 본문

외로운 싸움/Selenium

session not created: This version of ChromeDriver only supports Chrome version 101 에러 해결방법

김빵디 2022. 7. 8. 15:08
728x90

 

요 이틀동안 보안프로그램으로 인한 SSL 인증서 문제인줄알고 바보같이..

떡하니 오류를 뱉어내는데도 확인을 제대로 안한 나를 원망한다...

 

코드를 돌리면 열리지도않고 바로 다운되어버리니...보안문제인가 했다구!

 

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 101

vscode 터미널에서 오류 확인

 

인증서 문제가아닌... 셀레니움을 구동시킬때 크롬 드라이버 버전문제였다.

 

링크: https://chromedriver.chromium.org/downloads

 

ChromeDriver - WebDriver for Chrome - Downloads

Current Releases If you are using Chrome version 104, please download ChromeDriver 104.0.5112.29 If you are using Chrome version 103, please download ChromeDriver 103.0.5060.53 If you are using Chrome version 102, please download ChromeDriver 102.0.5005.61

chromedriver.chromium.org

 

현재 크롬버전 103.0.~~~ 인데 아마 드라이브 버전은 더 낮았나보다..

버전에 맞게 설치해주고 다운받은 .exe 파일을 vscode로 끌어다주면 완료!

 

씬이나 씬이나~ 신이나서 다시 돌려보니 웹페이지가 뜬다!

 

▼ 보안프로그램때문에 pip install이 불가능한경우 아래의 글을 확인해보세요~!

https://bbang-di.tistory.com/24

 

python 인증서 pip install 패키지

사설인증서를 사용해야되는 환경에서 아무리 pip install 패키지명~을 외쳐도 하염없이 ERROR만 뱉어내니.. 절대 이런 실수는 하지 말기.. ERROR: Could not find a version that satisfies the requirem..

bbang-di.tistory.com

 

이제 코드를 띵똥띵똥 해보러 가야지♬♪

 

 

728x90