摘要: 元素所在标签位置如截图所示: 使用xpath定位,模糊定位,查找文本内容包含永恒集团的元素://span[contains(text(),'永恒集团')] 精确定位://span[text()='永恒集团'] 阅读全文
posted @ 2021-07-12 19:43 miracle2 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: 在使用pip命令安装1.2.0版本的xlrd库时报错,考虑到有可能是因为网络问题,导致下载报错,后来加上国内镜像源地址后安装成功,命令如下: pip install xlrd == 1.2.0 -i http://pypi.douban.com/simple/ --trusted-host pypi 阅读全文
posted @ 2021-07-12 19:04 miracle2 阅读(383) 评论(0) 推荐(0) 编辑