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
- 503
views
- 3
users
- 2
likes
- 2
links