zoukankan      html  css  js  c++  java
  • 【解决方案】[XCUITest] WDA is not listening at 'http://localhost:8100/'

    1. 使用Xcode 编译 WebDriver 发现端口为:serverurlhere->http://手机ip:0 <-serverurlhere 

    2. 解决方案:

    xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id =$(idevice_id -l) test

    显示结果如下:

    2018-01-03 15:46:37.486914 + 0800 WebDriverAgentRunner-Runner [4222:1622132]
    
    2018-01-03 15:46:37.536376 + 0800 WebDriverAgentRunner-Runner [4222:1622132] ServerURLHere-> http://192.168.31.76:8100 <-ServerURLHere
    

     3. 改写代码:

    appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Routing/FBWebServer.m

     

    将如上的端口号改为8100

    https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md

  • 相关阅读:
    HDOJ 1093
    HDOJ 1089
    HDOJ 1094
    qsort函数
    HDOJ 1092
    HDOJ 1091
    NYOJ 448(贪心)
    HDOJ 1090
    HDOJ 1097(幂取模)
    winform用户输入查询与拼音首字母的结合,提高用户的操作体验
  • 原文地址:https://www.cnblogs.com/xiyuan2016/p/9561923.html
Copyright © 2011-2022 走看看