【发布时间】:2016-05-18 02:29:37
【问题描述】:
我正在使用 Appium (java) 自动化我的 android 应用程序。
我在需要输入文本并从软键盘按搜索/输入键的情况下感到震惊。
我尝试了很多解决方案,但是他们都没有工作。
有人试过这个吗?
试过这么远:
WebElement input = driver.findElement(By.id("myId"));
input.sendKeys(value); // the value we want to set to input
input.sendKeys(Keys.ENTER);
genericMethods.wait(1000);
【问题讨论】:
标签: android testing automation appium