Skip to content

Commit ff4246c

Browse files
committed
fix broken log
1 parent 25a4ee1 commit ff4246c

File tree

1 file changed

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

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,13 @@
2626
import edu.usc.irds.sparkler.model.ResourceStatus;
2727
import edu.usc.irds.sparkler.util.FetcherDefault;
2828

29-
import jdk.internal.org.jline.utils.Log;
30-
import org.apache.commons.lang.ArrayUtils;
3129
import org.json.simple.JSONObject;
3230
import org.json.simple.parser.JSONParser;
3331
import org.json.simple.parser.ParseException;
3432
import org.openqa.selenium.*;
3533
import org.openqa.selenium.Proxy;
3634
import org.openqa.selenium.chrome.ChromeDriver;
3735
import org.openqa.selenium.chrome.ChromeOptions;
38-
import org.openqa.selenium.remote.CapabilityType;
3936
import org.openqa.selenium.remote.DesiredCapabilities;
4037
import org.openqa.selenium.remote.RemoteWebDriver;
4138
import org.openqa.selenium.support.ui.ExpectedConditions;
@@ -158,9 +155,9 @@ public void filterResponse(HttpResponse response, HttpMessageContents contents,
158155
driver = new RemoteWebDriver(new URL(loc), capabilities);
159156
}
160157

161-
driver.manage().window().setSize(1920, 1080);
158+
driver.manage().window().setSize(new Dimension(1920, 1080));
162159
driver.manage().window().maximize();
163-
Log.info("The Chrome Window size is: "+driver.manage().window().getSize());
160+
LOG.info("The Chrome Window size is: "+driver.manage().window().getSize());
164161
}
165162

166163
}

0 commit comments

Comments
 (0)