Disable Images Selenium Python

[Solved] Disable Images Selenium Python | Python - Code Explorer | yomemimo.com
Question : disable images selenium python

Answered by : colorful-capybara-lvbmnuyn9zim

from selenium import webdriver
chrome_options = webdriver.ChromeOptions()
prefs = {"profile.managed_default_content_settings.images": 2}
chrome_options.add_experimental_option("prefs", prefs)
driver = webdriver.Chrome(chrome_options=chrome_options)

Source : https://stackoverflow.com/questions/28070315/python-disable-images-in-selenium-google-chromedriver | Last Update : Fri, 12 Feb 21

Answers related to disable images selenium python

Code Explorer Popular Question For Python