Skip to content

Commit 14942cf

Browse files
committed
make rendering eager
1 parent b3332f4 commit 14942cf

File tree

1 file changed

+1
-2
lines changed
  • sparkler-core/sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin

1 file changed

+1
-2
lines changed

sparkler-core/sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,14 @@ public void filterResponse(HttpResponse response, HttpMessageContents contents,
145145
chromeOptions.addArguments("--ignore-certificate-errors");
146146
chromeOptions.addArguments("--incognito");
147147
chromeOptions.addArguments("--window-size=1920,1080");
148-
chromeOptions.addArguments("--disable-features=VizDisplayCompositor");
149148

150149
chromeOptions.setPageLoadStrategy(PageLoadStrategy.EAGER);
151150
capabilities.setCapability(CapabilityType.PROXY, seleniumProxy);
152151
capabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions);
153152

154153
if(loc.equals("local")){
155154
driver = new ChromeDriver(capabilities);
156-
driver.manage().timeouts().pageLoadTimeout(600, TimeUnit.SECONDS);
155+
driver.manage().timeouts().pageLoadTimeout(3600, TimeUnit.SECONDS);
157156
} else{
158157
driver = new RemoteWebDriver(new URL(loc), capabilities);
159158
}

0 commit comments

Comments
 (0)