python+selenium实现web自动化常用方法

python+selenium实现web自动化常用方法1.通过id执行翻页
python+selenium实现web自动化常用方法2.通过name来进行页面登录
python+selenium实现web自动化常用方法3.通过class_name执行翻页
python+selenium实现web自动化常用方法4.通过tag_name来执行
python+selenium实现web自动化常用方法5.通过link_text执行标签检索并进入python+selenium实现web自动化常用方法6.通过partial_link_text执行标签检索并进入(模糊查询)
python+selenium实现web自动化常用方法7.通过xpath地址进入详情(使用inspect in FirePath进行来选择元素并选择xPath路径地址并复制,粘贴到代码的xPath路径中)
python+selenium实现web自动化常用方法8.通过css_selector选择器定位,查看元素,选择元素,点击列表中的item的标题,将选中的右键选择唯一选择器进行复制
python+selenium实现web自动化常用方法9.通过使用find_elements_by_css_selector查找当前列表所有的标题以及连接地址,查看元素,选择元素,点击列表中的item的标题,将选中的右键选择唯一选择器进行复制,将div.item后的:以及nth - child(2)删除,列出当前列表所有的
python+selenium实现web自动化常用方法10.页面表单切换(比如其他页面值都是动态值,通过tag_name来进行查找,用switch_to.frame(进行切换)
python+selenium实现web自动化常用方法