from selenium import webdriver options = webdriver.ChromeOptions() prefs = {} prefs['profile.managed_default_content_settings.images'] = 2 options.add_experimental_option('prefs',prefs) #懒加载 静止浏览器加载图片 br = webdriver.Chrome(options = options) br.get("http://www.tmall.com")