Define generic locator annotation multi platforms
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
Description
Currently, my android and iOS app has the same accessibility id, im wondering if this could be achieved by declaring only in one annotation instead of two as snippets below :

I tried to use @FindBy but selenium does not provide accessibility By on its annotation.
Environment
- java client build version or git revision if you use some shapshot: 6.1.0
Details
Please provide more details, if necessary.
Code To Reproduce Issue [ Good To Have ]
Ecxeption stacktraces
Link to Appium logs
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the two platform-specific locator annotations shown in the issue with Selenium's @FindBy support for accessibility. Determine how one declaration could represent the shared accessibility id on both Android and iOS. Done means a single annotation expresses the locator and works across both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100