Skip to content

feat(android): add aiImgTap command #859

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tyzamTsing
Copy link

Added aiImgTap command (only tested on Android), which can perform template matching operations on icon buttons on the current screen. It is a bit strange that threshold is only about 0.5x, but it can easily reach 0.8~0.9 on Python.
example yaml:
`android:
deviceId: xxx

tasks:

name: to cs page
flow:
aiImgTap: '/private/tmp/cs.png'
threshold: 0.5
sleep: 6000
aiAssert: 'AI'`

Copy link

netlify bot commented Jun 23, 2025

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit c19139d
🔍 Latest deploy log https://app.netlify.com/projects/midscene/deploys/6859329e4621c8000816941e
😎 Deploy Preview https://deploy-preview-859--midscene.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants