目前加上以下code就可行了
from selenium.webdriver.support.ui import WebDriverWait
然後在要執行的地方加上wait = WebDriverWait(driver, 10)
for n in range(len(all_links)):
driver.get(form_link)
wait = WebDriverWait(driver, 10)
目前加上以下code就可行了
from selenium.webdriver.support.ui import WebDriverWait
然後在要執行的地方加上wait = WebDriverWait(driver, 10)
for n in range(len(all_links)):
driver.get(form_link)
wait = WebDriverWait(driver, 10)