1.获取当前页面的url方法:current_url 实例:driver.current_url 2.获取元素坐标方法:location解释:首先查找到你要获取元素的,然后调用location方法实例:driver.find_element_by_xpath("xpath").location 3. ...
分类:
其他好文 时间:
2020-12-03 12:10:18
阅读次数:
7
Docker启动容器报错。Error response from daemon: driver failed programming external connectivity on endpoint mysql3308 (9b142778c31ebc6d13e9c2e0feaa027fbb025c... ...
分类:
数据库 时间:
2020-12-01 12:26:21
阅读次数:
14
1.MySQL自定义排序函数FIELD() order by FIELD(a.status,3,2,4,1) 按照3,2,4,1 排序 显示 2. FIND_IN_SET(a.name, "a,b,c,d") 判断a.name 是否在 "a,b,c,d" 中 ,判断时 "a,b,c,d" 用逗号分割 ...
分类:
数据库 时间:
2020-12-01 12:11:01
阅读次数:
11
1.查找文件 find / -name filename.txt 根据名称查找/目录下的filename.txt文件。 2.查看一个程序是否运行 ps –ef|grep tomcat 查看所有有关tomcat的进程 3.终止线程 kill -9 19979 终止线程号位19979的线程 4.查看文件 ...
分类:
系统相关 时间:
2020-11-30 16:04:26
阅读次数:
20
包络面绘制程序 function [X,Y,Z]=Enveloping_surface_rendering(x,y,z,a,b,A1) s=A1(:,3); b=[find(diff(s));length(s)]; c=b-[0;b(1:end-1)]; out=mat2cell(A1,c); ct ...
分类:
其他好文 时间:
2020-11-27 11:47:26
阅读次数:
23
###题目 1160. Find Words That Can Be Formed by Characters ###解题方法 先把可使用的所有字符放入字典charscount,以“字符:可出现次数”的形式存放,然后遍历words中的每个单词,初始化tempcount字典为charscount的副本 ...
分类:
其他好文 时间:
2020-11-27 11:39:59
阅读次数:
10
问题一:问题现象:[root@localhostgit-2.5.0]#autoconf无法执行:解决方案:[root@localhostgit-2.5.0]#yuminstall-yautoconf问题二:问题现象:[root@localhostgit-2.5.0]#make/usr/bin/perlMakefile.PLPREFIX=‘/usr/local/git‘INSTALL_BASE=‘‘
分类:
其他好文 时间:
2020-11-27 11:25:03
阅读次数:
7
错误详情: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter org.springframework.web.util.Neste ...
分类:
编程语言 时间:
2020-11-26 15:17:54
阅读次数:
13
非商业,LeetCode链接附上: https://leetcode-cn.com/problems/find-lucky-integer-in-an-array/ 进入正题。 题目: 在整数数组中,如果一个整数的出现频次和它的数值大小相等,我们就称这个整数为「幸运数」。 给你一个整数数组 arr, ...
分类:
编程语言 时间:
2020-11-26 15:13:13
阅读次数:
5
编写单元测试,运行时报下面的错误 haima@haima-PC:/media/haima/34E401CC64DD0E28/site/go/src/haimait/learn/base/cheshi01$ go test go: cannot find main module, but found ...
分类:
其他好文 时间:
2020-11-26 14:24:36
阅读次数:
5