NoSuchElement exception though element is visible and clickable


#1

Hi Guyz,

I am getting No Such Element execption though the element is Visible and Clickable property as true.

Device Properties
deviceName=330063b46ec8b49b
platformName=android
platformVersion=8.1.0
automationName=“uiautomator2”

I have tried below option
Explicit wait with click and Tap options

@FindBy(id = “tv_Profile1”)
public WebElement myProfile;

public void verifyMyProfileDisplay()
{
WebDriverWait wait = new WebDriverWait(driver, 120);
wait.until(ExpectedConditions.elementToBeClickable(myProfile));
//singleTap(driver,myProfile);
myProfile.click();
System.out.println(“Dashboard Displayed”);

}