Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 自定义脚本中使用了python脚本,截图功能不可用 #463

Open
1 of 2 tasks
junjunsay opened this issue Jul 9, 2024 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@junjunsay
Copy link

Search before asking

  • I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。

Sonic version

2.6.4

Deploy platform

mac

Minimal reproduce step

1.通过前端 添加步骤--->图像操作--->获取截图
2.通过前端 添加步骤--->特殊操作---自定义脚本
3.脚本中
from uia2.driver import AndroidDriver session_id, adb_serial_num, global_pramas, uia_url = sys.argv[1:] driver = AndroidDriver(uia_url) driver.close_driver()
4.通过前端 添加步骤--->图像操作--->获取截图

表现 第一个截图是正常的,第二个截图是异常

Are you willing to submit a PR?

  • I'm willing to submit a PR! | 我将发起PR!
@junjunsay junjunsay added the bug Something isn't working label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant