|
@@ -77,7 +77,17 @@ class Ssgdfs(object):
|
|
|
def open(self):
|
|
|
|
|
|
|
|
|
- self.driver = webdriver.Remote(command_executor=Demeter.config['setting']['phantomjs'], desired_capabilities=DesiredCapabilities.PHANTOMJS)
|
|
|
+ dcap = dict(DesiredCapabilities.PHANTOMJS)
|
|
|
+
|
|
|
+
|
|
|
+ dcap["phantomjs.page.settings.loadImages"] = False
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ self.driver = webdriver.Remote(command_executor=Demeter.config['setting']['phantomjs'], desired_capabilities=dcap)
|
|
|
+
|
|
|
|
|
|
|
|
|
|