connie_tong

导航

 
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()

 

posted on 2024-01-22 14:08  connie_tong  阅读(13)  评论(0编辑  收藏  举报