![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
软件测试
文章平均质量分 92
莺声门径
这个作者很懒,什么都没留下…
展开
-
robotframework Create Webdriver的一点理解
robotframework中使用Create Webdriver的一点理解原创 2022-06-17 13:52:21 · 787 阅读 · 0 评论 -
Python 单元测试案例
python 测试框架(本文只涉及 PyUnit) https://wiki.python.org/moin/PythonTestingToolsTaxonomy环境准备 首先确定已经安装有Python,之后通过安装PyUnit,Python版本比较新的已经集成有PyUnit(PyUnit 提供了一个图形测试界面UnittestGUI.py) 参考: https://wiki.pytho...转载 2018-06-10 15:08:25 · 638 阅读 · 0 评论 -
selenium无界面chromedriver
方法一:from selenium import webdriver# 创建chrome参数对象opt = webdriver.ChromeOptions()# 把chrome设置成无界面模式,不论windows还是linux都可以,自动适配对应参数opt.set_headless()# 创建chrome无界面对象driver = webdriver.Chrome(opt...转载 2018-08-13 17:23:17 · 2548 阅读 · 0 评论 -
Selenium 中WebDriverWait()方法小计
WebDriverWait() 显示等待,语法格式如下: WebDriverWait(self,driver,timeout,poll_frequency=POLL_FREQUENCY,ignored_exceptions=None).until(self,method,message=) 或者 WebDriverWait(self,driver,timeout,poll_frequency...原创 2018-06-14 13:51:14 · 7709 阅读 · 0 评论