• 大佬 我加了那两个参数 是可以运行了 可是总是卡在 app 首页 不进行点击 超时 60 秒以后就自动停止了 是不是和 app 有关系啊 还是因为什么 感觉是 app 没有解析出来
    debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
    [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/a0c5f7c4-e7f8-45ce-b123-851f0ca993b7/window/current/size] with no body
    [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c5f7c4-e7f8-45ce-b123-851f0ca993b7","value":{"height":2259,"width":1080}}
    [debug] [W3C (531b9e00)] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2259,"x":0,"y":0}
    [HTTP] <-- GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/window/rect 200 23 ms - 50
    [HTTP]
    [HTTP] --> GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source
    [HTTP] {}
    [W3C (531b9e00)] Driver proxy active, passing request on via HTTP proxy
    [debug] [WD Proxy] Matched '/wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source' to command name 'getPageSource'
    [debug] [WD Proxy] Proxying [GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source] to [GET http://127.0.0.1:8200/wd/hub/session/a0c5f7c4-e7f8-45ce-b123-851f0ca993b7/source] with no body
    [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c5f7c4-e7f8-45ce-b123-851f0ca993b7","value":"<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>\r\n\r\n \r\n \r\n <android.widget.FrameLayout ind...
    [WD Proxy] Replacing sessionId a0c5f7c4-e7f8-45ce-b123-851f0ca993b7 with 531b9e00-1e25-41ba-935c-c43d64e2b9da
    [HTTP] <-- GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source 200 114 ms - 7108
    [HTTP]
    [BaseDriver] Shutting down because we waited 60 seconds for a command
    [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
    [Appium] Removing session '531b9e00-1e25-41ba-935c-c43d64e2b9da' from our master session list
    [debug] [UiAutomator2] Deleting UiAutomator2 session
    [debug] [UiAutomator2] Deleting UiAutomator2 server session
    [debug] [WD Proxy] Matched '/' to command name 'deleteSession'
    [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/a0c5f7c4-e7f8-45ce-b123-851f0ca993b7] with no body
    [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c5f7c4-e7f8-45ce-b123-851f0ca993b7","value":null}
    [debug] [ADB] Running '/Users/dean/Library/Android/sdk/platform-tools/adb -P 5037 -s 6HJDU19530002236 shell am force-stop com.etekcity.vesyncplatform.check'
    [debug] [Logcat] Stopping logcat capture
    [debug] [ADB] Removing forwarded port socket connection: 8200
    [debug] [ADB] Running '/Users/dean/Library/Android/sdk/platform-tools/adb -P 5037 -s 6HJDU19530002236 forward --remove tcp:8200'
    [UiAutomator2] Restoring hidden api policy to the device default configuration
    [debug] [ADB] Running '/Users/dean/Library/Android/sdk/platform-tools/adb -P 5037 -s 6HJDU19530002236 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
    [debug] [Instrumentation] .
    [debug] [Instrumentation] Time: 71.074
    [debug] [Instrumentation]
    [debug] [Instrumentation] OK (1 test)

  • 好的 我试一下 谢谢

  • Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for platformName ''. Please check your desired capabilities (WARNING: The server did not provide any stacktrace information)
    我用网盘里的就不会报错 这个新版本会报这个

  • 大佬 你这个新版本报错啊

  • 你好 请问怎么设置运行时长呢 另外怎么查看崩溃信息啊

  • 大佬你好,我现在已经成功跑起来了您的工程,可以正常运行了,但是怎么查看结果啊,您可以加一下我 qq 吗?有很多问题想问您一下,541347048

  • 并没有 appium 很早就弃了。。。

  • 我的 2017年 终总结 at 2018年01月22日

    老大加油!

  • 可以把你的 js 给我看一下吗?我之前也试过用 js 但是没有成功

  • ATX 录放编辑器 -- WEditor at 2017年08月07日

    你好 录制运行的时候报错

    d = atx.connect()
    d(text="登录/注册").click()
    recv subprocess: 'Traceback (most recent call last):\n'
    recv subprocess: ' File "", line 3, in \n'
    recv subprocess: ' File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/atx/init.py", line 77, in connect\n'
    recv subprocess: ' c = cls(connect_url, **kwargs)\n'
    recv subprocess: ' File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/atx/drivers/android.py", line 87, in init\n'
    recv subprocess: ' self._adb_device = self._adb_client.device(serialno)\n'
    recv subprocess: ' File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/atx/adbkit/client.py", line 130, in device\n'
    recv subprocess: ' raise EnvironmentError("Device(%s) not attached." % serial)\n'
    recv subprocess: 'EnvironmentError: Device(default) not attached.\n'
    Websocket closed

    按照报错的字面意思说我没连上设备 但是我已经可以在网页上看到设备监控了 也可以自动输出代码 就是无法 run 来执行 一执行就报错