【selenium问题】获取到文本框元素后可以查看它的类型,但是无法输入,提示无法交互是咋回事

代码:

    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

 

 

 

up