Python
'str' object has no attribute 'capabilities'
ndlessrain
2023. 8. 14. 14:04
728x90
윈도우 새로 깔고 나서 기존 소스들 실행하려니
'str' object has no attribute 'capabilities' 에러 발생.
selenium이 업데이트되면서 이제 크롬 드라이버가 필요없단다.
browser = webdriver.Chrome('chromedriver') 이 부분을
browser = webdriver.Chrome() 이렇게 고치면 해결.
728x90