报错原因:该元素为隐藏元素,所以无法获取到 解决方案:使用ActionChains模拟触发事件,使隐藏元素显现 具体参考:https://blog.csdn.net/zbrj12345/article/details/80347327