Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
martingrossmann committed Sep 19, 2024
1 parent c034bd1 commit 94da9ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ private File addFile(File sourceFile, File directory, FileMode fileMode) {

public File finalizeReport() {
try {
log().info("Before delete {}", finalReportDirectory.getAbsolutePath());
log().info("exists: {}", finalReportDirectory.exists());
if (finalReportDirectory.exists()) {
FileUtils.deleteDirectory(finalReportDirectory);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ public void configureChromeOptions(Method method) {
options.addArguments("--disable-dev-shm-usage");
options.addArguments("--disable-search-engine-choice-screen");
});
WEB_DRIVER_MANAGER.setUserAgentConfig(Browsers.chrome, (ChromeConfig) options -> {
options.addArguments("--disable-search-engine-choice-screen");
});
}

protected AbstractWebDriverRequest getWebDriverRequest() {
Expand Down

0 comments on commit 94da9ec

Please sign in to comment.