正在尝试在移动应用程序中定位元素。)).click();
} ` 以下是来自UI AUtomator Click link to view Xpath from UIAutomator的路径调试器在此行显示一个错误,并显示以下错误消息: Exception in thread "main" org.openqa.selenium.NoSuchElementException: An elemento
我试图通过使用assert函数来检查一个元素是否在屏幕上。我正在使用Appium和Java来测试应用程序(AndroidDriver)。我期望的是,如果元素在屏幕上,则返回1,否则返回0。layout_ayarlar_ovit").isDisplayed() : "It is not on the screen";
NoSuchElementException:使