Flybirds

Latest version: v0.6.77

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.6.1

Features
1. web支持playwright新特性 context hook
2. 优化图像对比dsl

注意:playwright版本升级到1.33后,需要更新对应的浏览器,执行命令:playwright install

0.6.0

Feature
1. 支持 Python 3.10
2. Web端支持senario结束后自动清理mock
Fix
1. 修复部分场景下的图片文字标记问题

0.5.9

Feature
1. 新增DSL:设置浏览器高度[{width}]和宽度[{height}]
2. windows环境下默认不安装Paddle包,用户如需使用OCR功能,按照以下步骤手动安装:
- 下载requirement文件:https://github.com/ctripcorp/flybirds/blob/main/requirements_ml.txt
- pip3 install -r requirements_ml.txt
- 在flybirds_config.json中配置`ocrLang`,支持的语言种类参考: "https://flybirds.readthedocs.io/zh_CN/latest/BDD-UI-Testing-Flybirds.html#ocr“

0.5.8

Fix
1. 修复web hover dsl与历史版本冲突的问题

0.5.7

Features
1. [Android] 支持新版airtest ffmpeg录屏模式, 如需使用,在flybirds_config.json的frame_info中添加配置:"airtestRecordMode": "ffmpeg",支持ffmpeg和yosemite两种模式
2. [web] 支持切换浏览器tab:切换目标页面标题[{title}]链接[{url}]
4. [web] 支持执行js:执行js[{param}]
5. [web] 支持xml request对比:验证服务请求[{service}]与xml路径[{target_data_xml_path}]一致
6. [web] 支持dom元素文本对比:对比目标元素的链接[{target_url}]与文本内容[{target_ele}]和比较元素的链接[{compared_url}]与文本匹配内容[{compared_ele}]
7. [web] 支持图像对比:对比目标图片[{target_picture_path}]和比较图片[{compared_picture_path}]
8. [web] 支持hover操作:悬浮[{selector}]
9. 项目template中增加了对应的例子

Requirement
1. airtest>=1.2.10

0.5.6

Feature [For Web]
DSL
- set cookie name[] value[] url[]
- 设置cookie 名称[] 值[] 网址[]
- get cookie
- 获取cookie
- get local storage
- 获取local storage
- get session storage
- 获取session storage

Method
- add_cookie(context, name, value, url)
- get_cookie(context)
- get_local_storage(context)
- get_session_storage(context)

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.