selenium python怎么禁用显示 “DevTools on ws…”
chrome v70, chromedriver v2.42
Solution:
from selenium import webdriver
options.add_experimental_option(‘excludeSwitches’, [‘enable-logging’])
driver = webdriver.Chrome(options=options)
转自: https://segmentfault.com/q/1010000016825507