• "usePrebuiltWDA": "false",
    "useXctestrunFile": "false",
    "skipLogCapture": "true"

    加这 3 个即可

  • 已解决

  • 提问:webdriver 启用 appium 报错如何解决?
    报错内容:
    selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find path to Xcode by symlinks located in /var/db/xcode_select_link, or /usr/share/xcode-select/xcode_dir_link

    配置如下:
    desired_caps = {'platformName': 'iOS', 'platforVersion': '12.3', 'deviceName': 'test', 'app': 'com.xxxxx' , 'udid': '00008020-XXXXXXXXXX', 'webDriverAgentUrl': '127.0.0.1:8100/status', 'noReset': True, 'usePrebuiltWDA': 'false', 'useXctestrunFile': 'false', 'skipLogCapture': 'true', 'useNewWDA': 'false'}

    运行命令如下:
    driver = webdriver.Remote("http://127.0.0.1:4723/wd/hub", desired_caps)

  • 提问:webdriver 启用 appium 报错如何解决呀?以下为报错内容:
    selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find path to Xcode by symlinks located in /var/db/xcode_select_link, or /usr/share/xcode-select/xcode_dir_link