摘要: 方法一:通过RunTime.getRuntime().exec(shellScript) //方式1 不带参数 String classpath = Thread.currentThread().getContextClassLoader().getResource("").getPath(); S 阅读全文
posted @ 2021-01-27 23:37 feibazhf 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 链接: 怎么把HTML的报告转换为图片,利用无头浏览器:https://www.cnblogs.com/MasterMonkIntemple/p/10558090.html 下面的脚本做了linux和window的兼容性测试: 在windows、linux运行此python脚本都要提前安装selen 阅读全文
posted @ 2021-01-27 22:44 feibazhf 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 1、安装python环境,再pip install selenium 2、安装chrome: yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 3、安装chromedriver 阅读全文
posted @ 2021-01-27 22:08 feibazhf 阅读(214) 评论(0) 推荐(0) 编辑