Как отключить devtools в драйвере chrome?
вывод оболочки Python :
DevTools listening on ws://127.0.0.1:49881/devtools/browser/0bdaee9f-7293-479b-88dd-69e1223a92ac
код
chrome_options = Options()
chrome_options.add_argument('--ignore-certificate-errors')
chrome_options.add_argument("--disable-extensions")
chrome_options.add_argument("--log-level=3") # fatal
chrome_options.add_argument('disable-infobars')
chrome_options.add_experimental_option( "prefs",{'profile.managed_default_content_settings.javascript': 2})
chrome_path = 'drivers/chromedriver.exe'
self.driver = webdriver.Chrome(executable_path=chrome_path, chrome_options=chrome_options)
self.driver.maximize_window()