📅  最后修改于: 2022-03-11 14:56:21.658000             🧑  作者: Mango
from selenium.common.exceptions import NoSuchElementException
try:
element=driver.find_element_by_partial_link_text("text")
except NoSuchElementException:
print("No element found")