Abh*_*hya 2 java selenium android appium
这样的事可以吗?嗯,这对我不起作用.伙计们,最正确的方法是什么?需要帮助(Appium版本 - 1.4.0.0和Selenium 2.4.5)
dr.findElement(By.xpath("//android.widget.ImageButton[@bounds='[9,288][144,318]']"))
.click();
Run Code Online (Sandbox Code Playgroud)
小智 6
试试下面的代码,它对我有用......
WebElement abc = driver.findElement(By.xpath("//android.widget.ImageButton[@bounds='[9,288][144,318]']"))
abc.click();