Skip to content

Commit

Permalink
Remove deprecated code for performance logs (#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
strehle committed Jun 13, 2023
1 parent 1891048 commit 2d35c36
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
import org.openqa.selenium.Dimension;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.logging.LogType;
import org.openqa.selenium.logging.LoggingPreferences;
import org.openqa.selenium.remote.CapabilityType;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.PropertySource;
Expand All @@ -31,7 +28,6 @@
import java.io.IOException;
import java.net.HttpURLConnection;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;

@PropertySource("classpath:integration.test.properties")
public class DefaultIntegrationTestConfig {
Expand Down Expand Up @@ -75,9 +71,6 @@ public ChromeDriver webDriver() {
"--remote-allow-origins=*"
);

LoggingPreferences logs = new LoggingPreferences();
logs.enable(LogType.PERFORMANCE, Level.ALL);
options.setCapability(CapabilityType.LOGGING_PREFS, logs);
options.setAcceptInsecureCerts(true);

ChromeDriver driver = new ChromeDriver(options);
Expand Down

0 comments on commit 2d35c36

Please sign in to comment.