Skip to content

Commit

Permalink
[#12035] Fix chromedriver setup (#12216)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojj2209 committed Mar 20, 2023
1 parent ef0d572 commit 381f901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/e2e/java/teammates/e2e/pageobjects/Browser.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ private WebDriver createWebDriver() {
ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("prefs", chromePrefs);
options.addArguments("--allow-file-access-from-files");
options.addArguments("--remote-allow-origins=*");
if (TestProperties.isDevServer()) {
options.addArguments("incognito");
}
Expand Down

0 comments on commit 381f901

Please sign in to comment.