• #56楼 @carl 支持的。appium我没有试过,你可以跟 @Tank007 他讨论一下,他在研究呢。

  • #3楼 @xiaoli
    你是指判断某一特殊元素,还是希望有一个通用的解决办法?

  • #54楼 @carl 都支持

  • #51楼 @Tank007 所以他默认就是8100,同时起2个还是8100?

  • #48楼 @Tank007 我觉得应该是使用不同的端口。appium在启动的时候只能指定appium server的端口么,不能知道wda的端口?

  • #42楼 @Tank007
    你这个是并行的log吧,如果是,我感觉就是这个问题。

  • #42楼 @Tank007 我刚刚运行了一下,发现用的是2个不同的端口。

    >> xctest-client.js:56:14 [master] pid:10556 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    >> xctest-client.js:56:14 [master] pid:10555 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    >> macaca-ios.js:147:10 [master] pid:10556 {
        "bundleId": "com.btcc.mobiEntStaging",
        "platformVersion": "9.3.5",
        "platformName": "iOS"
    }
    >> macaca-ios.js:147:10 [master] pid:10555 {
        "bundleId": "com.btcc.mobiEntStaging",
        "platformVersion": "10.0.1",
        "platformName": "iOS"
    }
    >> macaca-ios.js:151:12 [master] pid:10556 Trying to start wda server...
    >> macaca-ios.js:151:12 [master] pid:10555 Trying to start wda server...
    (node:10556) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
    (node:10555) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
    (node:10555) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
    (node:10556) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
    BundleId com.apple.test.WebDriverAgentRunner-Runner does not exist.
    >> xctest-client start with port: 8900
    >> xctest-client.js:233:14 [master] pid:10556 xcode version: 8.2
    >> WebDriverAgent version: 1.0.38
    >> xctest-client start with port: 8901
    >> xctest-client.js:233:14 [master] pid:10555 xcode version: 8.2
    >> WebDriverAgent version: 1.0.38
    
  • 没有,我只要设置macaca server运行的端口就行了。

  • #38楼 @Tank007 那你可以修改wda的端口么? 2个分别用不同的端口呢。

  • #36楼 @Tank007 这边啊
    [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with b 为啥是都是8100 端口,你这里不是设置的端口号是4724么?