代码:
data1=driver.find_element_by_xpath('//*[@id="nowReadnum"]')
print(type(data1))
time.sleep(2)
data1.send_keys("19890")
打印出来的元素类型:
<class 'selenium.webdriver.remote.webelement.WebElement'>
报错:
elenium.common.exceptions.ElementNotInteractableException: Message: element not interactable