摘要: IPv4 UEFI+Legacy PXE server(centos7.6+centos8.4) 1. 虚拟机安装Centos 7.6 2. 关闭防火墙,禁用防火墙,关闭selinux,重启 a) systemctl stop firewalld b) systemctl disable firew 阅读全文
posted @ 2021-11-11 15:05 Jet-chen 阅读(2636) 评论(0) 推荐(0) 编辑
摘要: OS: CentOS 7.6 DHCP IPv4 来源 >> https://www.zutuanxue.com/home/4/5_257 1. 关闭防火墙和selinux systemctl stop firewalld.service systemctl disable firewalld.se 阅读全文
posted @ 2021-11-03 16:33 Jet-chen 阅读(2624) 评论(0) 推荐(0) 编辑
摘要: 本地yum源配置方法 备份/etc/yum.repos.d中的文件 cd /etc/yum.repos.d touch CentOS-Base.repo vim CentOS-Base.repo mount /dev/cdrom /mnt/cdrom 挂载镜像文件 [BaseOS] name=Cen 阅读全文
posted @ 2020-06-04 09:40 Jet-chen 阅读(22689) 评论(1) 推荐(1) 编辑
摘要: 1. 先下载相应的浏览器driver, 并配置环境变量 2. 下载python selenium包 pip install selenium pycharm 中ctrl+alt+l 对文档内容进行格式化 直接等待 time.sleep(3) 隐式等待 self.driver.implicitly_w 阅读全文
posted @ 2020-05-16 16:08 Jet-chen 阅读(307) 评论(0) 推荐(0) 编辑
摘要: allure + pytest生成报告 1. 获取运行结果 pytest pytest_demo2.py --alluredir=./result/test 2. 生成报告 allure generate ./result/test -o ./testreport/test1 --clean @al 阅读全文
posted @ 2020-05-16 15:10 Jet-chen 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 节点分类 node 元素节点 文本节点 属性节点 获取元素节点对象的方式 1. var eleNode = document.getElementById('idname'); 2. var olist = document.getElementsByTagName('li'); 获取所有的li标签 阅读全文
posted @ 2020-04-29 14:21 Jet-chen 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 浏览器对象模型 --BOM-- 1. window alert() confirm() prompt() setInterval() setTimout() 2. location href hash url reload() 3. screen 4. history alert, confirm, 阅读全文
posted @ 2020-04-24 15:12 Jet-chen 阅读(141) 评论(0) 推荐(0) 编辑
摘要: JS的引入方式 内接式 <script type="text/javascript"> xxx </script> 外接式 <script type="text/javascript" src = './index.js'></script> 调试语句 alert(''); 弹出窗口 console 阅读全文
posted @ 2020-04-23 16:13 Jet-chen 阅读(159) 评论(0) 推荐(0) 编辑
摘要: z-index它有四大特性,每个特性你记住了,页面布局就不会出现找不到盒子的情况。 z-index 值表示谁压着谁,数值大的压盖住数值小的, 只有定位了的元素,才能有z-index,也就是说,不管相对定位,绝对定位,固定定位,都可以使用z-index,而浮动元素不能使用z-index z-index 阅读全文
posted @ 2020-04-21 14:38 Jet-chen 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 相对定位 定位有三种: 1.相对定位 2.绝对定位 3.固定定位 相对定位:相对于自己原来的位置定位 现象和使用: 1.如果对当前元素仅仅设置了相对定位,那么与标准流的盒子什么区别。 2.设置相对定位之后,我们才可以使用四个方向的属性: top、bottom、left、right 特性: 1.不脱标 阅读全文
posted @ 2020-04-21 14:37 Jet-chen 阅读(268) 评论(0) 推荐(0) 编辑