自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 ImportError: cannot import name ‘TouchActions‘ from ‘selenium.webdriver‘

1、在selenium-wire 的webdriver中有from selenium.webdriver import TouchActions,但是我安装的selenium 版本4.11.2已经不使用TouchActions了 只使用ActionChains,然后在网上搜索到的解决办法是 回退到selenium 3.141.0 (pip install selenium ==3.141.0),但是此办法不管用,报各种请求超时错误。这种问题一般是版本不匹配导致,注意版本匹配即可。

2023-10-06 18:01:30 1157 1

原创 ssh与xargs同用时遇到的问题解决办法

在使用 ssh user@ip ps -ef|grep python3|grep -v grep|cut -c 9-15|xargs kill -9命令时 总是杀不掉

2021-05-28 17:17:42 833

原创 nessus :Error -- this scanner seems to be using the plugin feed of another host

问题:Could not validate this preference file.  Have installation files been copied from another system?Error -- this scanner seems to be using the plugin feed of another host问题解决办法:1、到官网重新注册一个激活码:X...

2018-09-12 09:06:42 1062

原创 kali linux安装问题及解决办法

用虚拟机VMware Workstation Pro(版本10)在cpu i5-6400上安装kali出现过一下问题1、This kernel requires an X86-64 CPU,but only detected an i686 CPU:解决办法:如果出现以上问题先检查一下自己的安装的系统包是否为64位、cpu是否64位、cpu是否允许硬件虚拟化(用securable软件检测下)如图最...

2018-05-11 10:31:57 16764 2

原创 python 特殊字符处理函数

def SpCharReplace(char): #char=char temp=str(char) for i in temp: if '==i: char= char.replace(','《') if '>' == i: char = char.replace('>', '》')

2017-12-28 20:47:35 4243

原创 TypeError: expected bytes, not str

import base64import ioa = ""b = base64.b64encode(bytes(a,'gb2312')) # 对字符串编码 URLError(ConnectionRefusedError(10061, '由于目标计算机积极拒绝,无法连接。', None, 10061),) this is a test print ('b11:',b)print ('b

2017-12-26 14:22:41 7247

原创 TypeError: encoding or errors without a string argument

TypeError: encoding or errors without a string argument:没有一个字符串参数编码或错误(百度翻译),import base64import ioa = ""b = base64.b64encode(bytes(a,'gb2312')) # 对字符串编码 URLError(ConnectionRefusedError(10061,

2017-12-26 14:10:24 4649

原创 LR中Vuser的init、action和end之间的区别

LR运行脚本时,运行顺序为 int->action(XN次)->end;其中action可以运行N次(或一段时间),这在LR中有设置;而int 和 end都只能运行一次因此实际运用中 一般 int录制的一般是用来做初始化的事情 比如要测试业务某个具体业务操作环节时,可以先把系统用户登录的写在int中。action 录制的一般是操作的事件,即需要测试业务操作点end 录制的一般是退出的

2016-09-11 21:59:49 6950

原创 在LoadRunner自动录制脚本时,默认会发生REASON: Unable to connect to remote server: rc = -1 , le = 0,错误

在LoadRunner自动录制脚本时,默认会发生REASON: Unable to connect to remote server: rc = -1 , le = 0,错误解决办法:在点击录制脚本时,options里面有个NetWord->Port Mapping的设置选项,Capture level选项改为“Socke level and WinNet level data”,意思是连接范

2016-09-11 19:50:45 2357

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除