내용 |
from selenium import webdriver
chrome_options = webdriver.ChromeOptions()
## https://chromedriver.chromium.org/capabilities 참고
#chrome_options.add_argument("start-maximized")
chrome_options.add_argument("--headless")
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--disable-web-security")
#chrome_options.add_argument("--disable-blink-features=AutomationControlled")
#chrome_options.add_experimental_option('useAutomationExtension', False)
driver = webdriver.Chrome("c:/chromedriver", options=chrome_options) |