반응형
from selenium import webdriver
from selenium.webdriver.common.by import By
# Create a new instance of the Chrome driver
options = webdriver.ChromeOptions()
options.add_argument("--disable-extensions")
options.add_argument("--disable-gpu")
options.add_argument("--no-sandbox")
options.add_argument("--headless")
options.add_argument("--disable-dev-shm-usage")
options.add_argument("--remote-debugging-port=9222")
options.add_argument("--disable-setuid-sandbox")
options.add_argument("--disable-web-security")
options.add_argument("--allow-running-insecure-content")
options.add_argument("--disable-popup-blocking")
options.add_argument("--disable-translate")
options.add_argument("--disable-notifications")
options.add_argument("--disable-infobars")
options.add_argument("--disable-default-apps")
options.add_argument("--disable-background-networking")
options.add_argument("--disable-background-timer-throttling")
options.add_argument("--disable-backgrounding-occluded-windows")
options.add_argument("--disable-breakpad")
options.add_argument("--disable-component-extensions-with-background-pages")
options.add_argument("--disable-features=TranslateUI")
options.add_argument("--disable-ipc-flooding-protection")
options.add_argument("--disable-renderer-backgrounding")
options.add_argument("--enable-features=NetworkService,NetworkServiceInProcess")
options.add_argument("--force-color-profile=srgb")
options.add_argument("--metrics-recording-only")
options.add_argument("--mute-audio")
options.add_argument("--no-first-run")
options.add_argument("--safebrowsing-disable-auto-update")
options.add_argument("--use-gl=swiftshader")
options.add_argument("--window-size=1920,1080")
options.add_argument("--disable-logging")
options.add_argument("--log-level=3")
options.add_argument("--disable-webgl")
options.add_argument("--disable-logging")
options.add_argument("--log-level=3")
options.add_argument("--disable-webgl")
options.add_argument("--disable-extensions")
options.add_argument("--disable-software-rasterizer")
options.add_argument("--disable-threaded-animation")
options.add_argument("--disable-threaded-scrolling")
options.add_argument("--disable-hang-monitor")
options.add_argument("--disable-breakpad")
options.add_argument("--disable-component-update")
options.add_argument("--disable-default-apps")
options.add_argument("--disable-domain-reliability")
options.add_argument("--disable-features=AudioServiceOutOfProcess")
options.add_argument("--disable-ipc-flooding-protection")
options.add_argument("--disable-renderer-backgrounding")
options.add_argument("--enable-features=NetworkService,NetworkServiceInProcess")
options.add_argument("--force-color-profile=srgb")
options.add_argument("--metrics-recording-only")
options.add_argument("--mute-audio")
options.add_argument("--no-first-run")
options.add_argument("--safebrowsing-disable-auto-update")
options.add_argument("--use-gl=swiftshader")
반응형
댓글