更新时间:2023-08-24 16:31:40
I'd go for driver.findElement(By.xpath("//UIAStaticText[contains(@name,'Username')]"));其实所有的元素位置搜索方法都可以先在Appium Inspector中进行测试,看看是否有效.
I'd go for driver.findElement(By.xpath("//UIAStaticText[contains(@name,'Username')]")); Actually, all search methods for element location can be tested in Appium Inspector first to see if they work.