ChromeDriver is assuming that Chrome has crashed

(The process started from chrome location /nix/store/z0b6n2bqlssqwd9va76mb8flcwwzywc9-chromium-98.0.4758.102/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Here is an example code that used to run, but now gives this error:

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_argument(‘–no-sandbox’)
chrome_options.add_argument(‘–disable-dev-shm-usage’)

driver = webdriver.Chrome(options=chrome_options)
driver.get(“https://google.com”)

This code used to open Google in Replit’s Output tab.