你好,我的selenium版本已经是4.4.2,适合旧式的selenium编程方法,为什么还会提示这个AttributeError错误的呢?如图,求各位帮忙解答下
橙色的位置,我想要这td_time元素内容,我编写
time = try.find_elements_by_xpath("./td/text()"),报错
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/8
你好,我的selenium版本已经是4.4.2,适合旧式的selenium编程方法,为什么还会提示这个AttributeError错误的呢?如图,求各位帮忙解答下
橙色的位置,我想要这td_time元素内容,我编写
time = try.find_elements_by_xpath("./td/text()"),报错
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/8
导入:from selenium.webdriver.common.by import By
用法:driver.find_element(By.CSS_SELECTOR, "#userA").send_keys("admin")