Skip to content

Commit

Permalink
Fixes local test issue with chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
bseeger committed Jul 21, 2023
1 parent 1866c05 commit 1f34dd3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void start() {
HashMap<String, Object> chromePrefs = new HashMap<>();
chromePrefs.put("download.default_directory", tempdir.toString());
options.setExperimentalOption("prefs", chromePrefs);
options.setBinary(WebDriverManager.chromedriver().getBrowserPath().get().toString());
options.addArguments("--window-size=1280,1600");
options.addArguments("--headless=new");
options.addArguments("--remote-allow-origins=*");
Expand Down

0 comments on commit 1f34dd3

Please sign in to comment.