Код: Выделить всё
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from time import sleep as s
options = Options()
options.binary_location = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
driver = webdriver.Chrome(chrome_options = options, executable_path=r'chromedriver.exe')
while True:
driver.get('https://advertropolis.g1gabytedev.repl.co/jumbo.php')
s(3)
driver.close()
< /code>
И вот ошибка:
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Я попытался изменить версию браузера на то, что прилегает к драйвере (111), но все же дает мне ту же ошибку. Мне нужна помощь, лол.
Подробнее здесь: https://stackoverflow.com/questions/756 ... -was-forci