• 是同一个

  • 请问 你的问题解决了么

  • 感谢! 又刚出现一个问题,用 chrome://inspect/#devices 查看不到小程序页面元素,反而用 uiautomatorviewer 反而能查看元素属性了,这是什么鬼?? 试了一下公众号没有问题

  • 你的问题解决了么

  • 你好,我在测试微信小程序,微信 webview:WebView in com.tencent.mm (57.0.2987.132),报错信息是:unable to discover open pages,是什么原因
    信息如下:
    Appium server all ready
    2018-04-25 14:06:38,783 - [ - INFO - platformName: Android
    2018-04-25 14:06:38,784 - [ - INFO - platformVersion: 5.1
    2018-04-25 14:06:38,785 - [ - INFO - deviceName: [
    2018-04-25 14:06:38,785 - [ - INFO - app:
    2018-04-25 14:06:38,785 - [ - INFO - appPackage: com.tencent.mm
    2018-04-25 14:06:38,785 - [ - INFO - appActivity: .ui.LauncherUI
    2018-04-25 14:06:38,786 - [ - INFO - noReset: True
    2018-04-25 14:06:38,786 - [ - INFO - unicodeKeyboard: True
    2018-04-25 14:06:38,786 - [ - INFO - resetKeyboard: True
    2018-04-25 14:06:38,786 - [ - INFO - chromeOptions: {'androidProcess': 'com.tencent.mm:tools'}
    2018-04-25 14:06:38,787 - [ - INFO - appium server port: 4723

    start cases
    2018-04-25 14:07:04,582 - [ - INFO - --> LoginPage.init
    2018-04-25 14:07:04,583 - [ - INFO - <-- LoginPage.init, Success
    2018-04-25 14:07:04,584 - [ - INFO - --> Weixin.test_application
    2018-04-25 14:07:04,584 - [ - INFO - --> HomePage.wait_check_page
    2018-04-25 14:07:09,745 - [ - INFO - <-- HomePage.wait_check_page, Success
    2018-04-25 14:07:09,745 - [ - INFO - --> HomePage.find_button
    2018-04-25 14:07:10,593 - [ - INFO - --> HomePage.little_application
    2018-04-25 14:07:16,473 - [ - INFO - --> HomePage.application_name
    2018-04-25 14:07:20,509 - [ - INFO - --> HomePage.webview
    [Chromedriver] Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. (Original error: unknown error: unable to discover open pages
    (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.16299 x86_64))
    at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:69:13)
    at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)
    at tryCatch (C:\Program Files\nodejs\X64\node_global\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke as _invoke
    at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
    at GeneratorFunctionPrototype.invoke (C:\Program Files\nodejs\X64\node_global\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:136:37)
    at
    Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. (Original error: unknown error: unable to discover open pages
    (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.16299 x86_64))
    at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:69:13)
    at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)
    at tryCatch (C:\Program Files\nodejs\X64\node_global\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke as _invoke
    at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
    at GeneratorFunctionPrototype.invoke (C:\Program Files\nodejs\X64\node_global\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:136:37)
    at
    [Chromedriver] Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. (Original error: unknown error: unable to discover open pages
    (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.16299 x86_64))
    at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:69:13)
    at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)
    at tryCatch (C:\Program Files\nodejs\X64\node_global\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke as _invoke
    at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
    at GeneratorFunctionPrototype.invoke (C:\Program Files\nodejs\X64\node_global\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:136:37)
    at
    Error: Failed to start Chromedriver session: An unknown server-side e