📅  最后修改于: 2022-03-11 14:45:37.180000             🧑  作者: Mango
代码示例1
from selenium.common.exceptions import NoSuchElementException
try:
driver.find_element_by_xpath("//span")
except NoSuchElementException: