-2
Windows의 크롬 브라우저에서 Python 셀렌 스크립트를 실행하고 싶습니다. 나는 크롬 드라이버를 다운로드에 exe 파일을 배치 "C : \ Python27 \ 스크립트"하지만 여전히 나는크롬 드라이버가 창에서 작동하지 않습니다.
Traceback (most recent call last):
File "C:\Users\INNOVATE\Desktop\workspace\Sample\sample.py", line 3, in <module>
driver = webdriver.Chrome()
File "C:\Python27\lib\site-packages\selenium-2.44.0-py2.7.egg\selenium\webdriver\chrome\webdriver.py", line 59, in __init__
self.service.start()
File "C:\Python27\lib\site-packages\selenium-2.44.0-py2.7.egg\selenium\webdriver\chrome\service.py", line 66, in start
"ChromeDriver executable needs to be available in the path. "
selenium.common.exceptions.WebDriverException: Message: ChromeDriver executable needs to be available in the path. Please download from http://chromedriver.storage.googleapis.com/index.html and read up at http://code.google.com/p/selenium/wiki/ChromeDriver
어떻게해야 같은 오류를 받고 있어요?
오류 메시지를 읽으셨습니까? 특히 * ChromeDriver 실행 파일이 경로 *에서 사용 가능해야하며 해당 모듈을 다운로드하기위한 URL을 제공해야한다는 부분이 있습니까? –
Python에서 ChromeDriver를 설정하려면이 링크를 확인하십시오. [http://stackoverflow.com/a/8259152/4193730](http://stackoverflow.com/a/8259152/4193730) – Subh