Skip to content

Instantly share code, notes, and snippets.

@polikeiji
Created November 26, 2015 12:02
Show Gist options
  • Save polikeiji/860bd5d07ae662ff507a to your computer and use it in GitHub Desktop.
Save polikeiji/860bd5d07ae662ff507a to your computer and use it in GitHub Desktop.
SeleniumでPhantomJSを使う時に画像を読み込まない方法 ref: http://qiita.com/polikeiji/items/457387c5db879f17a4c0
from selenium.webdriver import PhantomJS
driver = PhantomJS(service_args=['--load-images=no'])
driver.get('http://xxxxxx.xxxxx')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment