我想使用perfecto to mobile webdriver点击iOS中的自定义键盘。我已经尝试了sendKeys()函数,但它没有工作。你能帮我解决这个问题吗?因为这个问题,我被卡住了。请帮我解决这个问题。
发布于 2016-07-31 18:32:27
为什么不通过查找要设置的字段对象来设置值,然后使用sendKeys()方法设置它的值呢?
类似于:
driver.findElement(By.xpath(xpath of object, e.g. login)).sendKeys("whatever value you want");您可以将搜索替换为ID或any other method。
https://stackoverflow.com/questions/36966082
复制相似问题