テスト
Rails の rspec によるE2Eテスト(system spec)で Selenium を使うことがあると思うのですが、 selenium/standalone-chrome を使うと、以下のようなエラーが出て system spec が落ちてしまいます。 Selenium::WebDriver::Error::SessionNotCreatedError: Co…
Rails の rspec でのE2Eテスト(system spec)用に Selenium を使っているのですが、 バージョンが Selenium 3.141.59-20210929 だったので、 「ぼちぼち上げるか〜」と最新の 4.10.0-20230607 にバージョンアップしようとしました。 selenium/standalone-ch…
selenium/node-chrome selenium/standalone-chrome どっちを使えばいいかわからなかったのでメモ。 通常は standalone-chrome を使えばOK。 じゃあ node-chrome は何に使えばいいのかっていうと、 これは Selenium Grid Hub といっしょに使う場合に使用。 ht…