02 2021 档案

该文被密码保护。
posted @ 2021-02-28 22:14 zwnsyw 阅读(0) 评论(0) 推荐(0) 编辑
摘要:1、全部文字python:browser.find_element_by_xpath("//[text()='花呗套现']").click()2、部分文字python:browser.find_element_by_xpath("//*[contains(text(),'花呗')]").click( 阅读全文
posted @ 2021-02-25 08:42 zwnsyw 阅读(890) 评论(0) 推荐(0) 编辑
摘要:在使用selenium进行自动化测试中我们有时会遇到这样的情况: 我们需要手动打开浏览器,进入到所需的页面,执行一些手动任务,如输入表单、输入验证码,登陆成功后,然后再开始运行自动化脚本。 这种情况下如何使用selenium来接管先前已打开的浏览器呢? 这里给出Google Chrome浏览器的解决 阅读全文
posted @ 2021-02-24 20:04 zwnsyw 阅读(1965) 评论(0) 推荐(0) 编辑
摘要:import requests from pprint import * # 解决https证书爆红 import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) # url0 = "https: 阅读全文
posted @ 2021-02-18 13:26 zwnsyw 阅读(140) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示