from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.ID, "element_id")))
Selenium等待网站某个Element加载完毕
最新推荐文章于 2024-07-15 16:40:25 发布