Eric Guo's

Hoping writing JS, Ruby & Rails and Go article, but fallback to DevOps note

How to Resolve Rails Test:system Long Time Pending Using Chromedriver


Running rails test:system in my local dev always pending and timeout problem haunted me for a long time, finally, I know why.

Due to some change introduced in Google, every time a new chromedriver installed using brew, the first time running always need to download a file from but due to there is GFW in China, it always pending.

So resolved is quite simple, make sure you running ruby.exe(or binary of ruby) when first time can access google site and that’s it.

You need to make sure only once per every new version, that’s it!