Skip to content

Commit

Permalink
Merge pull request #10 from TaeKyuHyeon/fix/selenium-page-crash
Browse files Browse the repository at this point in the history
Fix selenium page crash error
  • Loading branch information
KimTaehee authored Feb 8, 2021
2 parents aecfc1f + a744451 commit 23ab8f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private ChromeDriver buildChromeDriver(String chromeDriverPath) {
options.addArguments("--headless"); // Browser를 띄우지 않음
options.addArguments("--disable-gpu"); // GPU를 사용하지 않음, Linux에서 headless를 사용하는 경우 필요함.
options.addArguments("--no-sandbox"); // Sandbox 프로세스를 사용하지 않음, Linux에서 headless를 사용하는 경우 필요함.
options.addArguments("--disable-dev-shm-usage"); // https://github.com/elgalu/docker-selenium/issues/20#issuecomment-407101358
options.addArguments("--blink-settings=imagesEnabled=false");
return new ChromeDriver(options);
}
Expand Down

0 comments on commit 23ab8f8

Please sign in to comment.