- 博客(6)
- 收藏
- 关注
原创 http与https的区别
HTTPS是HTTP协议的安全版本,HTTP协议的数据传输是明文的,是不安全的,HTTPS使用了SSL/TLS协议进行了加密处理,相对更安全HTTP 和 HTTPS 使用连接方式不同,默认端口也不一样,HTTP是80,HTTPS是443 HTTPS由于需要设计加密以及多次握手,性能方面不如 HTTPHTTPS需要SSL,SSL 证书需要钱,功能越强大的证书费用越高...
2022-05-21 11:13:15
152
原创 Charles 2 - breakpoint断点、compose编辑、rewrite重写、map映射重定向、repeat重发、throttling弱网测试
一、breakpoint断点Breakpoints功能可用于临时修改一次网络请求结果。当指定的网络请求发生时,使用BreakPoints可截获该请求,这时可以修改该请求的Request参数和Response 返回值。注意:修改完Request参数需要点击Excute按钮,请求成功后,才能修改Response返回值1.在所需请求右键选择breakpoints2.菜单proxy-Breakpoint Settings,选择要修改request还是response。也可两者都勾选。这里我只勾选一下r
2022-05-17 18:27:44
1312
原创 【Charles入门 mac版】
charles文章目录charles前言一、安装0.证书配置与安装二、Charles页面菜单介绍2.1 File菜单2.2 Edit菜单2.3 View菜单2.4 Proxy菜单2.5 Tools菜单2.6 Window菜单三、预览模式1.Structure 结构预览模式2.Sequence 顺序预览模式3.Overview(概述)四、好用的小功能1.Highlight Rules (高亮显示)2. Focused Hosts(专注host设置)3.Black List和Allow List(黑名单和白
2022-05-16 21:58:38
1558
原创 pytest导入自定义模块报错:ModuleNotFoundError: No module named ‘xxx‘
代码:import pytestfrom selenium import webdriverfrom lib.webui import loginAndCheck报错:ModuleNotFoundError: No module named 'lib'解决办法:让系统先从当前路径检索。即解决import os, syssys.path.append(os.getcwd())import pytestfrom selenium import webdriverfrom lib.w
2020-07-12 22:27:04
6518
原创 selenium.common.exceptions.ElementClickInterceptedException报错问题
selenium新手上路问题记录selenium.common.exceptions.ElementClickInterceptedException报错问题// 定位某个元素,并点击driver.find_element_by_css_selector('xxxxx’).click()# 报错:selenium.common.exceptions.ElementClickInterceptedException意思是点不到呗,看下页面需要定位的元素是否在你的可视范围内,如果需要滚动条滑动,
2020-07-11 22:47:17
379
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人