플그래밍/파이써언

[파이썬] Selenium - 크롬 버젼 116 기본 세팅

훗티v 2023. 8. 23. 03:28
728x90
반응형

이번에 업데이트된 크롬 116 버젼용 selenium 기본 템플릿입니다

웹드라이버는 ❤️ 입니다


# 버젼 > selenium 4.11.2
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service

# 셀레니움 옵션
option = Options()
service = Service()
driver = webdriver.Chrome(service=service, options=option)

# 페이지 이동
driver.get(url='http://hoood.tistory.com')

 

 

 

 

 

 

반응형