There are no elements in the current page, I see the only className but remaining sections also having the same className, I have tried it so many ways but still getting null pointer exception
- Taken from Parent node but this case also not working.
- Used findElements:
List elements = driver.findElements(By.className(“android.widget.RelativeLayout”));
element.get(0).click();
- driver.findElementByXPath("//android.widget.TextView[@index=‘0’]).click();
Thanks
created
Mar '18
last reply
Mar '18
- 6
replies
- 502
views
- 3
users
- 2
likes
- 2
links