728x90
설치
pip install chromedriver-autoinstaller
pip install chromedriver-autoinstaller
사용
from selenium import webdriver
import chromedriver_autoinstaller
chromedriver_autoinstaller.install() # Check if the current version of chromedriver exists
# and if it doesn't exist, download it automatically,
# then add chromedriver to path
driver = webdriver.Chrome()
driver.get("http://www.python.org")
assert "Python" in driver.title
https://pypi.org/project/chromedriver-autoinstaller/
728x90
'자료' 카테고리의 다른 글
C # Selenium HttpWebRequest 세션 (Session) 공유 (0) | 2020.08.10 |
---|---|
C#/Python Selenium install (0) | 2020.08.10 |
피들러(Fiddler) : 요청(Request) 분석창 살펴보기 (0) | 2020.08.10 |
피들러(Fiddler) : 응답(Response) 분석창 살펴보기 (0) | 2020.08.10 |
피들러(Fiddler) : 연결 및 수집을 허용할 HTTPS 프로토콜 설정하기 (0) | 2020.08.10 |