There are 4 TextView elements on my screen. But still, appium is unable to find them. No matter what.
Not using xpath, id, AndroidUiAutomator.
See the below screenshot.
Here is my code:
driver = createDriver();
Thread.sleep(1000);
driver.findElement(By.id("com.android.packageinstaller:id/permission_allow_button")).click();
Thread.sleep(1000);
driver.findElement(By.id("com.android.packageinstaller:id/permission_allow_button")).click();
Thread.sleep(1000);
driver.findElement(MobileBy.AndroidUIAutomator("new UiSelector().focusable(true)")).click();
Attached below are the logs:
logs.txt (26.4 KB)