chrome_options.add_experimental_option('prefs', {
    'profile.default_content_settings.images': 2})
driver = webdriver.Chrome(chrome_options=chrome_options)
Set chrome.prefs with python binding for selenium in chromedriver