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

操作校验问题 #32

Open
zhao-george opened this issue Jan 26, 2024 · 1 comment
Open

操作校验问题 #32

zhao-george opened this issue Jan 26, 2024 · 1 comment
Labels
Feature New feature or request

Comments

@zhao-george
Copy link
Contributor

是否可以给所有键鼠操作附带OCR或者图片循环校验等待功能,默认可以无需校验,我理解大部分一系列UI操作,第一步操作完,界面会产生变化,第二步操作依赖第一步变化后的界面,这个功能可以解决给固定的“操作间隔时间”无法在所有架构系统都合适的问题,毕竟各种机器性能不同。也会缩减开发的代码量。

@mikigo
Copy link
Contributor

mikigo commented Jan 29, 2024

我理解一下意思,你看对不对:
所有的键鼠操作增加一个 wait for 的功能,就是等待某个元素出现,
如,right_click(x, y, wait_by_ocr="新建文件夹") ,表示右键点击坐标 (x, y) 之后,通过 OCR 识别的方式等待元素“新建文件夹”出现。
参数名称、入参方式可以后续再讨论,这里先聊逻辑。

@mikigo mikigo added the Feature New feature or request label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants