導入 以下の書籍を読みながら、RSpecについて学んでいます。 現場で使える Ruby on Rails 5速習実践ガイド 写経しながら、RSpecでテストコードを書いて、いざはじめてのRSpecと思って、 ワクワクしながらコマンドを叩くと、以下のエラーが出た。 Selenium::WebDriver::Error::UnknownCommandError: unknown command: Cannot call non W3C standard command while in W3C mode Google Chromeとchromedriverのバージョンを最新の75にアップデートしたことで、W3CモードがデフォルトONになったみたい。 解決策 オプションに「w3c:false」を渡してやると、うまく解決が出来た。 自分の場合はオプションの設定方法が分からなくてハマったけど、何とか