Hi,
I am trying to simply login to webpage using appium and java.
My code is like this
dr.get(“https://www.facebook.com”);
List ls = dr.findElements(By.className(“android.widget.EditText”));
for(WebElement e :ls)
{
System.out.println(e.getText()); //able to get all elements like (Password,Email )
}
Thread.sleep(9000);
dr.findElement((By.xpath("//android.widget.EditText[@content-desc='Password']"))).sendkeys("password testing"); //But here not able to find element.
please let me know whats wrong with this code.