appium-inspector icon indicating copy to clipboard operation
appium-inspector copied to clipboard

Search by multiple locators

Open wazzeps opened this issue 7 months ago • 1 comments

Current Behavior

We can only search for one locator at a time.

Suggested Solution

Implement search functionality by multiple locators to find elements that match all locators at once.

Additional Information

The main idea is to be able to reproduce the search by multiple locators in the code, for example like this

@HowToUseLocators(androidAutomation = LocatorGroupStrategy.ALL_POSSIBLE)
@AndroidFindBy(id = "id")
@AndroidFindBy(classname = "classname")
private List<WebElement> elements;

wazzeps avatar Jul 23 '24 22:07 wazzeps