The page is as bellow
you see, all the emotions have no id, I want to locate all of them.
@AndroidFindBy(xpath = "//android.support.v4.view.ViewPager/GridView/*")
private List<WebElement> emotions;
but it does not work.
Then I try to locate one of them
@AndroidFindBy(xpath = "//android.support.v4.view.ViewPager/GridView/ImageView[@index='2']")
private WebElement emotions;
Still I cannot locate the element, please help to see what’s wrong ,thanks in ahead.