Profile picture

[Python] ValueError: There is no such driver by url

JaehyoJJAng2023년 05월 12일

📕 코드 내용


# ... 코드 생략 ...

service = Service(executable_path=ChromeDriverManager().install())
browser = webdriver.Chrome(service=service, options=chrome_options)

💥 해결 방법

  • Chrome-for-Testing 버전이 기존 114에서 115로 바뀌어서 생기는 문제

ChromeDriverManager().install() 이 부분을 ChromeDriverManager(version="114.0.5735.90").install()와 같이 버전을 명시하면 latest 버전이 아닌 114 버전으로 설치된다.

저렇게 버전을 명시하고 재실행하면 정상적으로 작동함


Loading script...