๐จ๐ผ๐ป๊ฐ๋ฐ/์
๋ ๋์
์ ๋ ๋์ - chromedriver ์๋ ์ ๋ฐ์ดํธ ๋ฐ ์ค์น
Janger
2022. 5. 23. 10:04
728x90
pip install chromedriver_autoinstaller
from selenium import webdriver
import chromedriver_autoinstaller
def driverAutoInstall():
chromedriver_autoinstaller.install()
driver = webdriver.Chrome()
return driver
driver = driverAutoInstall()
driver.get('http://google.com')
์ถ์ฒ:
https://dev-guardy.tistory.com/78
[Python] chromedriver selenium ์๋์ค์น [์ ๋ ๋์, ํฌ๋กฌ๋๋ผ์ด๋ฒ]
Python , chromedrvier, Selenium, ์ ๋ ๋์, ํฌ๋กฌ๋๋ผ์ด๋ฒ ์๋์ค์น chromedriver๋ฅผ ์ด์ฉํ ํ๋ก๊ทธ๋จ์ ๋ฐฐํฌํ ๋ chromedriver๋ฅผ ํจ๊ป ๋ฐฐํฌํด์ผํ์ฌ ์ฉ๋์ด ์ปค์ง ๋ฟ๋๋ฌ ์ฌ์ฉ์์ ํฌ๋กฌ๋ฒ์ ์ ๋ง๋ ํฌ๋กฌ ๋๋ผ์ด
dev-guardy.tistory.com
728x90