上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 36 下一页

2023年2月13日

摘要: db.collection.find() db.collection.find({属性:值}) db.collection.findOne() 查询集合中符合条件的所有的文档: db.stus.find();//返回数组,里面有多个对象 db.stus.find({}); db.stus.find( 阅读全文
posted @ 2023-02-13 21:03 sunny_2016 阅读(426) 评论(0) 推荐(0)

2022年12月8日

摘要: [root@localhost ~]# docker logs -f 55cca96ac3b62022-12-08 08:27:23+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.40-1.el7 started. 阅读全文
posted @ 2022-12-08 18:04 sunny_2016 阅读(3954) 评论(0) 推荐(0)
摘要: 安装 yum-utils yum install -y yum-utils device-mapper-persistent-data lvm2 为 yum 源添加 docker 仓库位置 yum-config-manager --add-repo https://download.docker.c 阅读全文
posted @ 2022-12-08 16:01 sunny_2016 阅读(49) 评论(0) 推荐(0)
摘要: centos7关闭图形化运行 cat /etc/inittabsystemctl get-default开机以命令模式启动,执行:systemctl set-default multi-user.target 开机以图形界面启动,执行:systemctl set-default graphical. 阅读全文
posted @ 2022-12-08 15:44 sunny_2016 阅读(124) 评论(0) 推荐(0)

2022年11月8日

摘要: import osimport pytestif __name__ == '__main__': os.system('rd /s/q temp') os.system('rd /s/q report') pytest.main(['-s','./day3/test_web.py','--allur 阅读全文
posted @ 2022-11-08 07:45 sunny_2016 阅读(253) 评论(0) 推荐(0)

2022年11月3日

摘要: 获取DOM元素基本方式 .find(selector) 搜索定位元素 .get(selector) 搜索定位元素 .contains(selector) 搜索定位元素 .children() 方法用来获取DON元素的子元素 .parents() 用来获取DOM元素的所有父元素 .parent() 用 阅读全文
posted @ 2022-11-03 14:44 sunny_2016 阅读(802) 评论(0) 推荐(0)
摘要: 1.1 CSS定位 1.1.1 绝对路径定位 目标 查找第一个文本为“猜猜看”的a标签 实现 CSS表达式 html>body>div>a[.=”猜猜看”] python表达式 driver.find_element_by_css_selector(‘html>body>div>a[.=”猜猜看”] 阅读全文
posted @ 2022-11-03 10:23 sunny_2016 阅读(212) 评论(0) 推荐(0)

2022年10月30日

摘要: python 虚拟环境 python -m venv venvdemo cd venvdemo dir cd Lib activate python 显示环境变量 echo %PATH% import sys from pprint import pprint pprint(sys.path) 虚拟 阅读全文
posted @ 2022-10-30 16:34 sunny_2016 阅读(26) 评论(0) 推荐(0)
摘要: 安装playwright: pip install -i https://mirrors.aliyun.com/pypi/simple/ playwright #安装浏览器 #playwright install -i https://mirrors.aliyun.com/pypi/simple/  阅读全文
posted @ 2022-10-30 10:32 sunny_2016 阅读(419) 评论(0) 推荐(0)

2022年10月16日

摘要: ///<reference types = 'cypress' /> 声明之后提示找不到cypress 卸载cypress重新安装正常,如果还不正确,卸载node重新安装 阅读全文
posted @ 2022-10-16 21:55 sunny_2016 阅读(74) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 36 下一页

导航