from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC # 等待页面加载完成 wait = WebDriverWait(driver, 10) start_process_element = wait.until(EC.presence_of_element_located((By.XPATH, "//a[text()='Start Process']"))) # 找到元素XPATH为//a[text()="Start Process"]并点击 start_process_element.click()