元素无法交互、定位不到问题

https://blog.csdn.net/weixin_39627665/article/details/111748354?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-4&spm=1001.2101.3001.4242

根据这篇博客上的方法整就行。先看目标元素能否打印出来

# ele = driver.find_element_by_xpath('/html/body/div[2]/div[1]/div/div/i[1]')
# print("目标元素:",ele)

猜你喜欢

转载自blog.csdn.net/honghong3864/article/details/114818986