我遵循了这里的代码:Selenium Python get_element by ID failing 但它还是不起作用 以下是我的代码 from selenium.webdriver.supportimport expected_conditions as ecfrom selenium.webdriver.common.byimport By
from selenium</em
driver.find_element(By.XPATH, "/html/body/div/div[2]/main/div[2]/div/section/div[2]/div/form/input")NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div/div[2]/main/div[2]/div/sec