Rails の System Tests で次のエラーがでるのは chromedriver が古いのが原因のようです。
Selenium::WebDriver::Error::UnknownError:
unknown error: call function result missing 'value'
(Session info: headless chrome=65.0.3325.162)
(Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.12.6 x86_64)
コマンドラインで chromedriver-update
を実行すると直ります。
chromedriver-update は chromedriver-helper gem に入っているコマンドです。
chromedriver-helper gem を使ってない場合は
https://chromedriver.storage.googleapis.com/index.html
から自力で取ってくる必要があります。
macでhomebrewを使っている場合はupgradeしましょう。
$ brew upgrade chromedriver
参照
unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade - Stack Overflow
https://stackoverflow.com/questions/49162667/unknown-error-call-function-result-missing-value-for-selenium-send-keys-even