I am working with the following selenium code:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time
options=Options()
driver=webdriver.Chrome(options=options)
i = 0
while True:
driver.get("https://www.google.com/")
time.sleep(2)
driver.quit()
i = i + 1
The idea is that the chrome browser opens and closes in an endless loop. When I run it I get a 'max retry error'. How can I solve this issue?.