2019年1月2日

第一个WebDriver脚本

摘要: 1、cmd下安装selenium,输入pip install selenium 2、下载Firefox浏览器的驱动程序,https://github.com/mozilla/geckodriver/releases网址根据自己的系统类型及浏览器位数下载,下载后解压到geckodriver.exe文件 阅读全文

posted @ 2019-01-02 22:03 异彩之光 阅读(153) 评论(0) 推荐(0) 编辑

中文版测试报告

摘要: #coding=utf-8 """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use this is to invoke its main method. E... 阅读全文

posted @ 2019-01-02 15:58 异彩之光 阅读(119) 评论(0) 推荐(0) 编辑

导航