摘要: https://www.runoob.com/xpath/xpath-examples.html https://selenium-python.readthedocs.io/locating-elements.html https://blog.csdn.net/weixin_43847799/a 阅读全文
posted @ 2020-01-15 17:25 字符蹚浑水 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 原文链接地址:https://www.cnblogs.com/Rita-LJ/p/8334526.html Python+selenium之获取文本值和下拉框选择数据 一、结合实例进行描述 1. 实例如下所示: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 阅读全文
posted @ 2020-01-15 16:57 字符蹚浑水 阅读(2454) 评论(0) 推荐(0) 编辑
摘要: 若要对页面中的提示警告窗口中的滚动条进行操作,要先找到元件位置,然后在进行滚动条操作 element = driver.find_elements_by_class_name('dg-button') element.location_once_scrolled_into_view或element 阅读全文
posted @ 2020-01-15 14:50 字符蹚浑水 阅读(1556) 评论(0) 推荐(0) 编辑