maestro icon indicating copy to clipboard operation
maestro copied to clipboard

Not seeing ID for most of the elements

Open Arulsundarmts opened this issue 2 years ago • 2 comments
trafficstars

Not seeing ID for most of the elements

this is forcing me to use only the 'Text' property to 'tapOn' and navigate.

When using apps with multiple languages, the Text property varies for each language.

How to get element ID for every element?

Arulsundarmts avatar Sep 07 '23 17:09 Arulsundarmts

Hey @Arulsundarmts we would need more information to debug the issue. Platform, android/ios version, framework, steps to reproduce.

amanjeetsingh150 avatar Sep 11 '23 07:09 amanjeetsingh150

@amanjeetsingh150 I have this same issue.

Maestro is not able to find the views for the given id, but when using the text field it works, though I don't want to rely on the text field, due to translations.

Code example:

appId: com.myAppId
tags:
  - myTag
---

- launchApp:
    appId: "com.myAppId"

- waitForAnimationToEnd:
    timeout: 5000

- swipe:  
    start: 50, 400
    end: 50, 100

- waitForAnimationToEnd:
    timeout: 10000

- tapOn:
    id: "MAESTRO_ID"

Platform: iOS Maestro: v1.35.0

ivancantarino avatar Jan 19 '24 11:01 ivancantarino

Hey, thanks y'all for creating this issue - unfortunately, it's not easily reproducible. We have a huge backlog, so it's important we can triage issues in an efficient manner.

Please provide a minimal, reproducible example that clearly explains how to reproduce the problem with the detailed, step-by-step instructions (that can be easily run by me or other maintainers).

bartekpacia avatar Jul 11 '24 01:07 bartekpacia

Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it. Feel free to open a new issue with all the required information provided, including a [minimal, reproducible sample]. When creating a new issue, please make sure to diligently fill out the issue template. Thank you for your contribution to our open-source community! [minimal, reproducible sample]: https://stackoverflow.com/help/minimal-reproducible-example

github-actions[bot] avatar Jul 25 '24 01:07 github-actions[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. Thank you for helping keep us our issue tracker clean!

github-actions[bot] avatar Aug 01 '24 02:08 github-actions[bot]