How to solve Selenium::WebDriver::Error::ScriptTimeoutError: script timeout
Selenium::WebDriver::Error::ScriptTimeoutError in Capybara system tests often appears after a Chrome driver update, and the culprit is default_max_wait_time set to zero for non-headless debugging. Why the error happens and the one-line config change that fixes it.
Dec 4, 2023