Selenium
개발2024. 5. 13. 13:57Selenium

모듈설치%pip install selenium%pip install webdriver-managerselenium으로부터 webdriver 모듈을 불러오기from selenium import webdriverfrom selenium.webdriver.chrome.service import Servicefrom webdriver_manager.chrome import ChromeDriverManager객체 생성 및 요청# http://www.example.com 으로 요청을 보낸다.driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))driver.get("https://www.example.com")driver = webdri..

image