Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

disable images selenium python

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 by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disable #images #selenium #python
ADD COMMENT
Topic
Name
2+1 =