selenium: [๐Ÿ› Bug]: selenium-driver 4.9.1 causes chrome crashes in Capybara tests

What happened?

After upgrading the selenium-webdriver gem from 4.9.0 => 4.9.1, weโ€™re seeing frequent chrome crashes in our capybara tests.

How can we reproduce the issue?

Iโ€™m not sure. It happens on 50% of our builds. Chrome logs donโ€™t give much information just has:

[1685009372.742][INFO]: [300ea01057ea3631a42446a81fb172a7] RESPONSE ExecuteScript ERROR unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
  (Session info: headless chrome=113.0.5672.126)

Please let me know how else I can be more helpful here.

Relevant log output

unknown error: session deleted because of page crash
ย  | from unknown error: cannot determine loading status
ย  | from tab crashed
ย  | (Session info: headless chrome=113.0.5672.126)
ย  | ย 
ย  | invalid session id

Operating System

Ubuntu 20.04

Selenium version

Ruby 3.2.2

What are the browser(s) and version(s) where you see this issue?

Chrome 113.0.5672.126

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 113.0.5672.63

Are you using Selenium Grid?

No

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Hi there. Just an update. We found out the Os was killing chrome due to memory issues.