0

I am trying to run some selenium test code inside AWS ECS container.

I am passing the following arguments to ChromeOptions

options.addArguments("--headless", "--disable-gpu", "--window-size=1920,1200",
          "--ignore-certificate-errors","--no-sandbox","'--disable-dev-shm-usage");

The error I am getting the below error. Usually, it happens only when "--no-sandbox","'--disable-dev-shm-usage" flags are not added

org.openqa.selenium.WebDriverException: unknown error: session deleted because of page crash
from tab crashed
Asnim P Ansari
  • 1,932
  • 1
  • 18
  • 41
  • Why are you deleting your old [questions](https://stackoverflow.com/questions/58746232/selenium-webdriver-is-failing-due-to-page-crash-in-docker) and asking the same question again and again? – undetected Selenium Nov 07 '19 at 10:36
  • I made it more specific from docker to Amazon ECS. In docker, it got solved by passing `--disable-dev-shm-usage`. But in Amazon ECS I am still facing the issue. – Asnim P Ansari Nov 07 '19 at 10:39

0 Answers0