Chrome page crash when running selenium and capybara under tmux

I am using cucumber + selenium + capybara for testing on OSX 10.9.


installed via brew

with the latest version 2.10.

When I run the test, the chrome page that is decapitated by selenium just crashed. Below are the results in the console:

unknown error: session deleted because of page crash
      from tab crashed
        (Session info: chrome=37.0.2062.120)
        (Driver info: chromedriver=2.10.267517,platform=Mac OS X 10.9.4 x86_64) (Selenium::WebDriver::Error::UnknownError)


If I tried to use chrome selenium, each tab would be broken.

I ran into the problem, the chrome crash issue happened before and was fixed after chromedriver 2.6. As you can see, all of my chronographs (2.10) and chrome are the latest.

If I switch my selenium driver browser to firefox it works well.

Thanks in advance for your attention.


source to share

1 answer

I had the same problem. This has puzzled me for a long time.

As luck would have it, I run testing in the terminal, everything is fine.

The problem only occurs when running testing with a tmux session!

Eliminate the problem for me.



All Articles