In Selenium chromdriver, we can disable images in this way:
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)
But this method disables images on all sites. In Google Chrome, you can separately specify a list of sites to which images can be loaded.
Is it possible to do this with Selenium?