随笔分类 -  python测试

基于python的接口,Appium,selenium等测试工具
摘要:当selenium登录一个没有合法认证的https的网站时,会弹出不安全的提示,此时需要怎么处理呢? 解决的方法比较简单,既增加一行代码:options.add_argument('--ignore-certificate-errors') 修改之后,整体的代码为: options = webdri 阅读全文
posted @ 2022-03-26 21:08 771293871 阅读(1483) 评论(0) 推荐(0)
摘要:今日对selenium+googlechrome实现自动化测试进行回顾,结合pycharm整理出测试环境的搭建。 1.下载chromedriver 下载的地址: 官方: https://chromedriver.storage.googleapis.com/index.html 淘宝: https: 阅读全文
posted @ 2021-02-23 14:18 771293871 阅读(78) 评论(0) 推荐(0)