good first issue
Repository metrics
- Stars
- (997 stars)
- PR merge metrics
- (Avg merge 2d 7h) (15 merged PRs in 30d)
Description
The current locating strategy in Appium is fairly native - it would attempt to find elements by tag name, name, text, and label. Often, there will be multiple elements matching this locator. We need to improve locators by:
- Generating the same XPath.
- Checking it against the accessibility tree.
- If there is one match, we can proceed.
- If there are multiple matches, find the one we are interested in (we can use "id" for that) and append its index to XPath.
When an area is used (#129), we would still need to search within the whole accessibility tree if possible.
Once this is done, swag_labs_test.py should start passing on Appium.