๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ‘จ๐Ÿผ‍๐Ÿ’ป๊ฐœ๋ฐœ/์…€๋ ˆ๋‹ˆ์›€

์…€๋ ˆ๋‹ˆ์›€ - chromedriver ์ž๋™ ์—…๋ฐ์ดํŠธ ๋ฐ ์„ค์น˜

by Janger 2022. 5. 23.
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
๋ฐ˜์‘ํ˜•