Skip to content

Commit 8189459

Browse files
committed
make rendering eager
1 parent 07588ef commit 8189459

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public void filterResponse(HttpResponse response, HttpMessageContents contents,
143143
chromeOptions.addArguments("--disable-extensions");
144144
chromeOptions.addArguments("--ignore-certificate-errors");
145145
chromeOptions.addArguments("--incognito");
146+
chromeOptions.addArguments("--window-size=1920,1080");
146147
chromeOptions.setPageLoadStrategy(PageLoadStrategy.EAGER);
147148
capabilities.setCapability(CapabilityType.PROXY, seleniumProxy);
148149
capabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions);

0 commit comments

Comments
 (0)