我试图通过appium(XCUI Test)在iOS 10.3上自动执行一个方案,在该方案中我必须输入电话号码。但是没有键盘可见。我所拥有的只是一个numberPad型键盘。
我使用了硒sendkeys功能,它与其他可以使键盘可见的文本字段完美地结合在一起。
我得到如下错误。
An unknown server-side error occurred while processing the command. Original error: Error Domain=com.facebook.WebDriverAgent Code=1 "Keyboard is not present" UserInfo={NSLocalizedDescription=Keyboard is not present} (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.00 seconds .
Run Code Online (Sandbox Code Playgroud)