selenide: Chrome hangs in Docker in Selenide 5.14.0 - 5.23.1

The problem

Since Selenide 5.14.0 we regularly have hanging Docker containers because of hanging Chrome processes.

Details

Lower versions than 5.14.0 work ok, higher versions (5.15.0 and 5.23.1 tested) experience random hangs. We suspect it is the Chrome process that hangs but it is hard to tell because of Docker. We tried experimenting with chromeOptions.setExperimentalOption("excludeSwitches", Arrays.asList("disable-dev-shm-usage")) but that did not fix it.

Tell us about your environment

  • Selenide Version: 5.14.0 - 5.23.1
  • Chrome Version: Chrome 92.0.4515.159
  • Browser Driver Version: ???
  • Selenium Version: 3.141.59
  • OS Version: CentOS 8.3.20

Code To Reproduce Issue

This is a big set of Java unittests.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Yes Docker make some parts easier, and makes other parts much, much harder 😉 We are happy with the YourChromeFactory, it still hasn’t hung on our server. Thanks for your help.