Flybirds

Latest version: v0.7.0

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

Scan your dependencies

Page 4 of 7

0.4.9

Features
1. draw box on picture after step fail
2. support detect error in wait_ocr_text_appear

Fix
1. click image issue

0.4.8

Features
122 Support user-defined browser cookies
- cookies <[List](https://docs.python.org/3/library/typing.html#typing.List)[[Dict](https://docs.python.org/3/library/typing.html#typing.Dict)]>[](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-add-cookies-option-cookies)
- name <[str](https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str)>
- value <[str](https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str)>
- url <[str](https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str)> either url or domain / path are required. Optional.
- domain <[str](https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str)> either url or domain / path are required Optional.
- path <[str](https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str)> either url or domain / path are required Optional.
- expires <[float](https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex)> Unix time in seconds. Optional.
- httpOnly <[bool](https://docs.python.org/3/library/stdtypes.html)> Optional.
- secure <[bool](https://docs.python.org/3/library/stdtypes.html)> Optional.
- sameSite <"Strict"|"Lax"|"None"> Optional.

python
'''
Following is add cookie example
1. modify before_all_extend method in pscript/dsl/hook.py of your project
2. define your cookies and add it into global cache
3. flybirds will add cookies into browser
'''
from flybirds.core.global_context import GlobalContext

def before_all_extend(context):
cookies = [{'name': 'taskid1', 'value': 'TYUUI12345ty1', "url": "https://hotel.trip.com"},
{'name': 'taskid2', 'value': 'TYUUI12345ty2', "url": "https://hotel.trip.com"}]
GlobalContext.set_global_cache("cookies", cookies)

0.4.7

Feature
120 **support paddleocr config "det_limit_type" and "det_limit_side_len"**
- For history project, you can add "ocr_det_limit_type" and "ocr_det_limit_side_len" in frame_info section of flybirds_config.json
- For new project, these two configs will be added automatically after cli create

0.4.6

Features
- support mini project create
- typer version upgrade

0.4.5

Feature
支持长时间录频,解决 adb screen record 180秒的限制 111
相关配置项:
- "useAirtestRecord": true // 设置为true时开启长时间录屏
- "scenarioScreenRecordTime": 180 // 单个case最大录屏时间,默认为180,根据需要调整
- "screenRecordTime": 180。// 最大录屏时间,默认为180,根据需要调整

0.4.3

Feature
1. APP 支持异常弹框检测,当元素检测失败时,检测是否存在弹框并尝试关闭它,关闭后继续执行case
2. 兼容OCR文字包含箭头的场景
3. Poco 元素检测逻辑优化

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.