I'm running selenium script frequently by connecting gitlab repo to AWS hosted jenkins. previously it runs without any issue. today i got below issue and failed the script.

unknown error: session deleted because of page crash
from tab crashed
  (Session info: headless chrome=96.0.4664.45)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-172-31-5-179', ip: '', os.name: 'Linux', os.arch: 'amd64', os.version: '5.11.0-1020-aws', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 96.0.4664.45, chrome: {chromedriverVersion: 96.0.4664.45 (76e4c1bb2ab46..., userDataDir: /tmp/.com.google.Chrome.dB04JU}, goog:chromeOptions: {debuggerAddress: localhost:32869}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: deb93db4c655ac86eacd3b2f7de4f0d7

Tried to find solutions by reading lot of articles. but the solutions are there for docker and python+selenium integrations. couldn't find any solution for above my integration. Arguments also set as below.

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

looking for any solutions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.