今天在练习鼠标事件api时,运行脚本一直报selenium.common.exceptions.WebDriverException: Message: TypeError: rect is undefined,最后尝试多次后发现用ele = b.find_element_by_partial_link_text('设置') 定位后,运行脚本不报错,于是怀疑是定位方法有问题。
python鼠标事件报错问题TypeError: rect is undefined
最新推荐文章于 2024-05-11 10:06:12 发布