-----------------------------------------------------------------------------------------------------------------------------
以上资料来自测试界“山豆根行者”的playwright自动化保姆教程短视频
B站视频地址:https://space.bilibili.com/275304941/channel/collectiondetail?sid=3035086&ctype=0
项目源代码地址:https://github.com/Aino1980/playwright0/releases
豆神:Aino531,我:winni_666888
-----------------------------------------------------------------------------------------------------------------------------
目 录
(3) 下载playwright内置浏览器(chromium、firefox、webkit)
4. 根据placeholder定位 .get_by_placeholder()
2. context.storage_state保存鉴权文件
3. 加载上述步骤中保存的鉴权信息填充到context中实现免登录
5. @pytest.mark.browser_context_args
10. 创建自动运行的fixtrue,并自动写数据到自定义数据库
3. 将多上下文所有page页的失败截图添加至在线allure报告
1. pytest-rerunfailures插件安装及配置
--------------------------未完待更新-----------------------------