我正在使用android gem自动化我的appium_lib测试。我有一个元素,它没有要标识的text、content-desc、resource-id。android.widget.Imageview").click #But the problem is, an other element also has the same class"
我尝试使用"//android.widget.LinearLayout[@index=
我有一个按钮onclick事件,然而,当它运行时,实际上按钮并不是实际的clicked.When I do .isDisplayed(),元素总是被找到的。然而,测试仍然失败。WebElement c=driver.findElement(By.xpath("//android.widget.Button[@resource-id='android:id/button2']"[1053,1267]']/android.widget.FrameLayout[@bounds