selenium chromedriver 콘솔창 제거

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from subprocess import CREATE_NO_WINDOW

service = Service('path/to/chromedriver')
service.creationflags = CREATE_NO_WINDOW

driver = webdriver.Chrome(service=service)

2 thoughts on “selenium chromedriver 콘솔창 제거”

Leave a Comment