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