Update webdrivers to 5.0
Upgrade webdrivers, etc. To enable system tests can be run on ruby3 or later.
In addition, we do not load the driver for localhost when we set `SELENIUM_REMOTE_URL` to support a host without a browser (Docker environment, etc.).
Updated by Go MAEDA 8 months ago
Updated by Ko Nagase 6 months ago
I encountered webdriver issue on my M1 Mac environment recently. (At least, there was no problem at 2022-10-10(Mon).)
From the following Japanese article, updating webdrivers >= 5.2.0 seems to be necessary,
% bundle exec rails test:system rails aborted! Webdrivers::NetworkError: Net::HTTPServerException: 404 "Not Found" with https://chromedriver.storage.googleapis.com/106.0.5249.61/chromedriver_mac64_m1.zip
- Japanese Qiita article: https://qiita.com/jnchito/items/ef384a39cb063b0af463
- GitHub issue: https://github.com/titusfortner/webdrivers/issues/237
so, I hope that this update will be merged before 5.1.0 for system test.