摘要: rf(即robotframework)是自动化测试常用的框架之一,在前端自动化测试中常与webdriver驱动器,以及rf的selenium2library库搭配使用。selenium2library提供的openbrowser,close browser,click element……等关键字方便 阅读全文
posted @ 2022-02-25 17:44 陈晓猛 阅读(215) 评论(0) 推荐(0) 编辑
摘要: node提供了3种获取路径的方法 ,在当前目录下,运行node const {resolve} = require('path') console.log('__dirname : ' + __dirname) console.log('resolve : ' + resolve('./')) co 阅读全文
posted @ 2022-02-25 16:04 陈晓猛 阅读(2460) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://github.com/jprichardson/node-fs-extra 详细更多的用法可看:https://github.com/jprichardson/node-fs-extra fs-extra模块是系统fs模块的扩展,提供了更多便利的 API,并继承了fs模块的 阅读全文
posted @ 2022-02-25 12:09 陈晓猛 阅读(1788) 评论(0) 推荐(0) 编辑