04 2020 档案
摘要:背景: 公司最近的项目涉及到ES查询,空余之中对ES进行了一个入门的学习,ES真是个强大的搜索引擎。 ES 入门语法(ES对document 文档的增删改查) 1 #获取所有索引 2 GET _search 3 { 4 "query": { 5 "match_all": {} 6 } 7 } 8 #
阅读全文
摘要:Docker Selenium Grid 配置 通过 Docker 方式启动 Docker images for Selenium Grid Server (Standalone, Hub, and Nodes) 拉取镜像 查看版本信息 docker-selenium 1 docker pull s
阅读全文
摘要:最近使用 seleniumgrid 搭建公司的集成自动化测试环境遇到 1 requests waiting for a slot to be free. 问题 造成 每次都要 docker restart hub ,docker restart node 为了使其在python3 中稳定跑起来 问题
阅读全文
摘要:python3 依赖第三方包 pipreqs 安装: pip3 install pipreqs 生成 requirement.txt 在当前目录下,执行: pipreqs . --encoding=utf8 --force 安装 pip install -r requirements.txt
阅读全文
摘要:我这里使用的时centos7-mini,centos系统本身默认安装有python2.x,版本x根据不同版本系统有所不同,可通过 python --V 或 python --version 查看系统自带的python版本 有一些系统命令时需要用到python2,不能卸载 1、安装依赖包 1)首先安装
阅读全文

浙公网安备 33010602011771号