gpt4 book ai didi

ios - 在文本字段中输入字符串时键盘不可见

转载 作者:行者123 更新时间:2023-12-02 21:56:52 24 4
gpt4 key购买 nike

我正在尝试通过 appium(XCUI Test)在 iOS 10.3 上自动化一个场景,其中我必须输入电话号码。但看不到键盘。我只有一个数字键盘。

我使用 selenium 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 .

最佳答案

只需添加以下步骤

  1. 打开模拟器

  2. 选择硬件

  3. 选择“切换软件键盘”

    如图enter image description here所示

关于ios - 在文本字段中输入字符串时键盘不可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44522124/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com