如何使用Appium的Inspector找到对应的元素?
appium吧
全部回复
仅看楼主
level 3
fabbychips 楼主
self.driver.find_element_by_xpath("//*[@text='Username']").send_keys('company')
self.driver.find_element_by_xpath("//*[@text='Password']").send_keys('company')
self.driver.find_element_by_xpath("//*[@text='Login']").click()
我在【Search for element】里通过//*[@text='Username']定位不到Username元素
2021年04月22日 03点04分 1
1