Join the Facebook Fan Page.
Started by Helgi, March 04, 2023, 04:54:23 PM
from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdriver.support import expected_conditions as ECbrowser = webdriver.Edge()browser.get("https://smf.com/upgrade.php")wait = WebDriverWait(browser, 10)while True: try: button = browser.find_element(By.CSS_SELECTOR, "div#error_message a") button.click() except: passwhile True: pass
Quote from: Arantor on March 04, 2023, 05:04:19 PMMe, I use the command line to run the upgrade, no timeouts there... but yeah, neat trick with Selenium.
Quote from: marcimila on March 12, 2023, 07:05:59 AMHow do you use the command line to upgrade your big forum?