Created
November 26, 2015 12:02
-
-
Save polikeiji/860bd5d07ae662ff507a to your computer and use it in GitHub Desktop.
SeleniumでPhantomJSを使う時に画像を読み込まない方法 ref: http://qiita.com/polikeiji/items/457387c5db879f17a4c0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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