我们知道,在selenium中,定位方式可以分为8种:1,id定位2,class定位3,name定位4,link_text定位5,partial_link_text定位6,tag定位7,xpath定位8,css定位 那么在这8种定位方式种,我们该如何取舍呢?原则如下:原则一:如果元素有id属性,则首 ...
分类:
其他好文 时间:
2021-03-05 12:57:53
阅读次数:
0
##多实例出现 充分的利用主机资源 拆分数据库,限制单个实例大小 资源隔离,减小相互影响 分担连接数 ##mysql配置文件读取 读取配置文件顺序: /etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf --defau ...
分类:
数据库 时间:
2021-03-05 12:56:30
阅读次数:
0
File upload XSS Description This script is possibly vulnerable to XSS (Cross-site scripting). The web application allows file upload and Acunetix was ...
分类:
其他好文 时间:
2021-03-04 13:34:27
阅读次数:
0
1.字符串 string 的定义 string 的初始化 string 的长度 string 的元素的访问 数组 迭代器 元素的操作 insert() erase() clear() 运算符 连接 + 比较运算符 判断是否相等 常用函数 find() substr() /** * @author: ...
分类:
其他好文 时间:
2021-03-04 13:24:30
阅读次数:
0
今天无聊,用php封装了一套比较简单的http请求类 细节方面可以再优化 class Creeper { public $url; public $header; public $text; public $responseHeader; public function __construct($u ...
分类:
Web程序 时间:
2021-03-04 13:21:20
阅读次数:
0
问题: --> Finished Dependency Resolution --> Finding unneeded leftover dependencies Found and removing 0 unneeded dependencies Error: Package: glibc-hea ...
分类:
其他好文 时间:
2021-03-04 13:18:15
阅读次数:
0
# <editable> def execute(conn, inputs, params, outputs, reportFileName): # <editable> ''' 载入模块 ''' import sqlalchemy import db_utils ''' 选择目标数据 ''' da ...
分类:
编程语言 时间:
2021-03-04 13:15:00
阅读次数:
0
import java.io.File; import java.io.IOException; /* 获取指定文件夹下所有文件名并打印输出, */ public class FileDemo01 { public static void main(String[] args) throws IOE ...
分类:
编程语言 时间:
2021-03-04 13:11:12
阅读次数:
0
sudo find /etc/ -type f -name "rc*" -exec ls -l {} \;find . -name "t*" -perm 777 -printfind . -mtime -180find /var/log/ -mtime -3 -ok rm {} \; vim 替换: ...
分类:
系统相关 时间:
2021-03-04 13:03:44
阅读次数:
0
IDEA中Tomcat乱码问题 1、file-setting中修改字符集 2、修改IDEA安装目录bin下的文件,添加-Dfile.encoding=UTF-8 3、Help-- Edit custom vm options 添加-Dfile.encoding=UTF-8 4、重启IDEA 本人经过 ...
分类:
其他好文 时间:
2021-03-04 12:57:56
阅读次数:
0