Appium Appium 切换 Webview 到泪崩

Lionleoliu · 2018年08月09日 · 最后由 Lionleoliu 回复于 2018年08月10日 · 2570 次阅读

大哥大姐们,研究了好久小程序,不关如何就是切换不了 Webview,不切换 webview 的方法也试了直接找元素找不到。也按照对应版本去找 chromedriver 了无奈没卵用,拜托各位大哥大姐看一下啊。代码
程序代码
@Test(priority = 1)
public void accessApplet() throws InterruptedException {
OpenAppletPageForWeiXin openAppletPageForWeiXin = new OpenAppletPageForWeiXin(driver);
System.out.println(driver.getContext());//查看 App 类型
openAppletPageForWeiXin.getFind().click();
driver.findElementByAndroidUIAutomator("new UiScrollable(new UiSelector()).scrollIntoView(text(\"小程序\"));");
openAppletPageForWeiXin.getApplet().click();
openAppletPageForWeiXin.getYJPL().click();
Thread.sleep(8000);
//Set contextNames = driver.getContextHandles();
driver.context("WEBVIEW_com.tencent.mm:appbrand0");
// for (String contextName : contextNames) {
// System.out.println(contextName);
// if (contextName.contains("WEBVIEW")) {
// driver.context(contextName);
// System.out.println(contextName);
// Thread.sleep(1500);
// }
// }

Appium log
[info] [35m[Appium][39m Welcome to Appium v1.8.1
[info] [35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[info] [35m[HTTP][39m [90m{"desiredCapabilities":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"capabilities":{"desiredCapabilities":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"firstMatch":[{"platformName":"android"}]}}[39m
[debug] [35m[MJSONWP][39m Calling AppiumDriver.createSession() with args: [{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},null,{"desiredCapabilities":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"firstMatch":[{"platformName":"android"}]}]
[debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1533802936781 (16:22:16 GMT+0800 (中国标准时间))
[warn] [35m[Appium][39m Could not parse W3C capabilities: 'deviceName' can't be blank. Falling back to JSONWP protocol.
[warn] [35m[Appium][39m The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["appPackage","appActivity","noReset","newCommandTimeout","platformName","deviceName","fullReset"]. Falling back to JSONWP protocol.
[info] [35m[Appium][39m Creating new AndroidDriver (v2.7.0) session
[info] [35m[Appium][39m Capabilities:
[info] [35m[Appium][39m appPackage: com.tencent.mm
[info] [35m[Appium][39m appActivity: .ui.LauncherUI
[info] [35m[Appium][39m noReset: true
[info] [35m[Appium][39m newCommandTimeout: 60
[info] [35m[Appium][39m platformName: Android
[info] [35m[Appium][39m deviceName: Android Device
[info] [35m[Appium][39m fullReset: false
[debug] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: {"appPackage":"com.tencent....
[info] [35m[BaseDriver][39m Session created with session id: 824df66c-5004-4410-add5-e4e3fd25cfd8
[debug] [35m[AndroidDriver][39m Getting Java version[info] [35m[AndroidDriver][39m Java version is: 1.8.0_141
[info] [35m[AndroidDriver][39m Retrieving device list
[debug] [35m[ADB][39m Trying to find a connected android device
[debug] [35m[ADB][39m Getting connected devices...
[debug] [35m[ADB][39m 1 device(s) connected
[info] [35m[AndroidDriver][39m Using device: dde4f9e1
[debug] [35m[ADB][39m Setting device id to dde4f9e1
[info] [35m[AndroidDriver][39m App file was not listed, instead we're going to run com.tencent.mm directly on the device
[debug] [35m[AndroidDriver][39m Checking whether package is present on the device
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell pm list packages com.tencent.mm'[info] [35m[AndroidDriver][39m Starting Android session
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 wait-for-device'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell echo ping'[debug] [35m[AndroidDriver][39m Pushing settings apk to device...
[debug] [35m[ADB][39m Getting install status for io.appium.settings
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell pm list packages io.appium.settings'[debug] [35m[ADB][39m App is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.settings'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package io.appium.settings'[debug] [35m[ADB][39m The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0')
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell getprop ro.build.version.sdk'[debug] [35m[ADB][39m Current device property 'ro.build.version.sdk': 22
[debug] [35m[ADB][39m Device API level: 22
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell settings put secure mock_location 1'[warn] [35m[AndroidDriver][39m setDeviceLanguageCountry requires language or country.
[warn] [35m[AndroidDriver][39m Got language: 'undefined' and country: 'undefined'
[debug] [35m[Logcat][39m Starting logcat capture
[debug] [35m[AndroidDriver][39m Pushing unlock helper app to device...
[debug] [35m[ADB][39m Getting install status for io.appium.unlock
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell pm list packages io.appium.unlock'[debug] [35m[ADB][39m App is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.unlock'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package io.appium.unlock'
[debug] [35m[ADB][39m The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0')
[info] [35m[ADB][39m Getting device platform version
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell getprop ro.build.version.release'[debug] [35m[ADB][39m Current device property 'ro.build.version.release': 5.1.1
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell wm size'[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell getprop ro.product.model'
[debug] [35m[ADB][39m Current device property 'ro.product.model': X9000
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell getprop ro.product.manufacturer'
[debug] [35m[ADB][39m Current device property 'ro.product.manufacturer': OPPO
[warn] [35m[AndroidDriver][39m No app sent in, not parsing package/activity
[debug] [35m[AndroidDriver][39m No app capability. Assuming it is already on the device
[debug] [35m[AndroidBootstrap][39m Watching for bootstrap disconnect
[debug] [35m[ADB][39m Forwarding system: 4724 to device: 4724
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 forward tcp:4724 tcp:4724'[debug] [35m[UiAutomator][39m Starting UiAutomator
[debug] [35m[UiAutomator][39m Moving to state 'starting'
[debug] [35m[UiAutomator][39m Parsing uiautomator jar
[debug] [35m[UiAutomator][39m Found jar name: 'AppiumBootstrap.jar'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 push C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-android-bootstrap\bootstrap\bin\AppiumBootstrap.jar /data/local/tmp/'
[debug] [35m[ADB][39m Attempting to kill all uiautomator processes
[debug] [35m[ADB][39m Getting all processes with uiautomator
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'[debug] [35m[ADB][39m Attempting to kill process 19375
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell kill -0 19375'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell kill 19375'[error] [35m[UiAutomator][39m UiAutomator exited unexpectedly with code 0, signal null
[debug] [35m[UiAutomator][39m Moving to state 'stopped'
[debug] [35m[AndroidDriver][39m Shutting down Android driver
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell am force-stop com.tencent.mm'
[warn] [35m[Appium][39m Closing session, cause was 'UiAUtomator shut down unexpectedly'
[info] [35m[Appium][39m Removing session 133f5307-ec15-4359-ac06-479f7cefde8d from our master session list[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell kill 19375'[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell kill 19375'[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell kill 19375'
[debug] [35m[ADB][39m Pressing the HOME button
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell input keyevent 3'
[warn] [35m[ADB][39m Cannot kill process 19375 in 1000 ms. Trying to force kill...
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell kill -9 19375'
[debug] [35m[UiAutomator][39m Starting UIAutomator
[debug] [35m[ADB][39m Creating ADB subprocess with args: ["-P",5037,"-s","dde4f9e1","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.tencent.mm","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][warn] [35m[AndroidBootstrap][39m Cannot shut down Android bootstrap; it has already shut down
[debug] [35m[Logcat][39m Stopping logcat capture
[debug] [35m[UiAutomator][39m Moving to state 'online'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell am force-stop io.appium.unlock'
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Registered crash watchers.
[info] [35m[AndroidBootstrap][39m Android bootstrap socket is now connected
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys window'
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Client connected[info] [35m[AndroidDriver][39m Screen already unlocked, doing nothing
[debug] [35m[ADB][39m Device API level: 22
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell am start -W -n com.tencent.mm/.ui.LauncherUI -S'[debug] [35m[AndroidDriver][39m Not cleaning generated files. Add clearSystemFiles capability if wanted.[info] [35m[Appium][39m New AndroidDriver session created successfully, session 824df66c-5004-4410-add5-e4e3fd25cfd8 added to master session list
[debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1533802945202 (16:22:25 GMT+0800 (中国标准时间))
[debug] [35m[MJSONWP][39m Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m8423 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/timeouts[39m
[info] [35m[HTTP][39m [90m{"type":"implicit","ms":10000}[39m
[debug] [35m[W3C][39m Bad parameters: BadParametersError: Parameters were incorrect. We wanted "W3C protocol expects any of script, pageLoad or implicit to be set" and you sent {"type":"implicit","ms":10000}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/timeouts [39m[33m400[39m [90m1 ms - 6332[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/context[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getCurrentContext() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/context [39m[32m200[39m [90m3 ms - 84[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m3 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m3 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/context[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getCurrentContext() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/context [39m[32m200[39m [90m1 ms - 84[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element[39m
[info] [35m[HTTP][39m [90m{"using":"-android uiautomator","value":"text(\"发现\")"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.findElement() with args: ["-android uiautomator","text(\"发现\")","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"发现\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"发现\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("发现")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("发现")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "发现"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=发现]
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("发现")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("发现")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "发现"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=发现]
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[MJSONWP][39m Matched JSONWP error code 7 to NoSuchElementError
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element [39m[31m500[39m [90m151 ms - 164[39m
[info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element[39m
[info] [35m[HTTP][39m [90m{"using":"-android uiautomator","value":"text(\"发现\")"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.findElement() with args: ["-android uiautomator","text(\"发现\")","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"发现\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"发现\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("发现")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("发现")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "发现"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=发现]
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("发现")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("发现")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "发现"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=发现][debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[MJSONWP][39m Matched JSONWP error code 7 to NoSuchElementError
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element [39m[31m500[39m [90m998 ms - 164[39m
[info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element[39m
[info] [35m[HTTP][39m [90m{"using":"-android uiautomator","value":"text(\"发现\")"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.findElement() with args: ["-android uiautomator","text(\"发现\")","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"发现\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"发现\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("发现")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("发现")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "发现"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=发现][debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("发现")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("发现")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "发现"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=发现][debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [35m[MJSONWP][39m Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element [39m[32m200[39m [90m1586 ms - 87[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m5 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m5 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element/1/click[39m
[info] [35m[HTTP][39m [90m{"id":"1"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.click() with args: ["1","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: click[debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [35m[MJSONWP][39m Responding to client with driver.click() result: true
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element/1/click [39m[32m200[39m [90m177 ms - 76[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element[39m
[info] [35m[HTTP][39m [90m{"using":"-android uiautomator","value":"new UiScrollable(new UiSelector()).scrollIntoView(text(\"小程序\"));"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiScrollable(new UiSelector()).scrollIntoView(text(\"小程序\"));","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector()).scrollIntoView(text(\"小程序\"));","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector()).scrollIntoView(text(\"小程序\"));","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'new UiScrollable(new UiSelector()).scrollIntoView(text("小程序"));' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing scrollable: new UiScrollable(new UiSelector()).scrollIntoView(text("小程序"))
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiScrollable invoking method: public boolean com.android.uiautomator.core.UiScrollable.scrollIntoView(com.android.uiautomator.core.UiObject) throws com.android.uiautomator.core.UiObjectNotFoundException args: text("小程序"),
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiScrollable coerce type: class com.android.uiautomator.core.UiObject arg: text("小程序")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "小程序"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Method name: scrollIntoView
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Setting uiObject for scrollIntoView[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Invoking method: public boolean com.android.uiautomator.core.UiScrollable.scrollIntoView(com.android.uiautomator.core.UiObject) throws com.android.uiautomator.core.UiObjectNotFoundException with: com.android.uiautomator.core.UiObject@164a61dd[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Invoke complete.
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=小程序]
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
[debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[MJSONWP][39m Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element [39m[32m200[39m [90m4870 ms - 87[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element[39m
[info] [35m[HTTP][39m [90m{"using":"-android uiautomator","value":"text(\"小程序\")"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.findElement() with args: ["-android uiautomator","text(\"小程序\")","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"小程序\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"小程序\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("小程序")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("小程序")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "小程序"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=小程序]
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
[debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[MJSONWP][39m Responding to client with driver.findElement() result: {"ELEMENT":"3"}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element [39m[32m200[39m [90m25 ms - 87[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m1 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: click[debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [35m[MJSONWP][39m Responding to client with driver.click() result: true
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element/3/click [39m[32m200[39m [90m971 ms - 76[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m3 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element[39m
[info] [35m[HTTP][39m [90m{"using":"-android uiautomator","value":"text(\"易酒批零\")"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.findElement() with args: ["-android uiautomator","text(\"易酒批零\")","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"易酒批零\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"text(\"易酒批零\")","context":"","multiple":false}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Finding 'text("易酒批零")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Parsing selector: text("易酒批零")
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "易酒批零"
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Using: UiSelector[TEXT=易酒批零][debug] [35m[AndroidBootstrap][39m Received command result from bootstrap
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
[debug] [35m[MJSONWP][39m Responding to client with driver.findElement() result: {"ELEMENT":"4"}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element [39m[32m200[39m [90m584 ms - 87[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getSession() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"Android Device","fullReset":false},"appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","noReset":true,"newCommandTimeout":60,"platformName":"Android","deviceName":"dde4f9e1","fullReset":false,"deviceUDID":"dde4f9e1","platformVersion":"5.1.1","deviceScreenSize":"1080x1920","deviceModel":"X9000","deviceManufacturer":"OPPO"}
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8 [39m[32m200[39m [90m2 ms - 748[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/element/4/click[39m
[info] [35m[HTTP][39m [90m{"id":"4"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.click() with args: ["4","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[AndroidBootstrap][39m Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Got command action: click[debug] [35m[AndroidBootstrap][39m [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/contexts[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.getContexts() with args: ["824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[AndroidDriver][39m Getting a list of available webviews
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell cat /proc/net/unix'[debug] [35m[AndroidDriver][39m WEBVIEW_25933 mapped to pid 25933
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m WEBVIEW_26278 mapped to pid 26278
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m WEBVIEW_25853 mapped to pid 25853
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m WEBVIEW_25512 mapped to pid 25512
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'[debug] [35m[AndroidDriver][39m Parsed pid: '25933' pkg: 'com.tencent.mm:tools' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 25933 987 2312496 151488 ffffffff 00000000 S com.tencent.mm:tools
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm:tools'
[debug] [35m[AndroidDriver][39m Parsed pid: '25853' pkg: 'com.tencent.mm:appbrand0' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 25853 987 2581292 224912 ffffffff 00000000 S com.tencent.mm:appbrand0
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm:appbrand0'
[debug] [35m[AndroidDriver][39m Parsed pid: '26278' pkg: 'com.tencent.mm:appbrand1' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 26278 987 2319524 153968 ffffffff 00000000 S com.tencent.mm:appbrand1
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm:appbrand1'
[debug] [35m[AndroidDriver][39m Parsed pid: '25512' pkg: 'com.tencent.mm' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 25512 987 2282328 238688 ffffffff 00000000 S com.tencent.mm
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm'
[debug] [35m[AndroidDriver][39m Found webviews: ["WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand1","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm"]
[debug] [35m[AndroidDriver][39m Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand1","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm"]
[debug] [35m[MJSONWP][39m Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand1","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm"]
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/contexts [39m[32m200[39m [90m533 ms - 212[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/context[39m
[info] [35m[HTTP][39m [90m{"name":"WEBVIEW_com.tencent.mm:appbrand0"}[39m
[debug] [35m[W3C][39m Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.tencent.mm:appbrand0","824df66c-5004-4410-add5-e4e3fd25cfd8"]
[debug] [35m[AndroidDriver][39m Getting a list of available webviews
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell cat /proc/net/unix'
[debug] [35m[AndroidDriver][39m WEBVIEW_25933 mapped to pid 25933
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m WEBVIEW_26278 mapped to pid 26278
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m WEBVIEW_25853 mapped to pid 25853
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'
[debug] [35m[AndroidDriver][39m WEBVIEW_25512 mapped to pid 25512
[debug] [35m[AndroidDriver][39m Getting process name for webview
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell ps'[debug] [35m[AndroidDriver][39m Parsed pid: '25933' pkg: 'com.tencent.mm:tools' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 25933 987 2312496 151488 ffffffff 00000000 S com.tencent.mm:tools
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm:tools'
[debug] [35m[AndroidDriver][39m Parsed pid: '26278' pkg: 'com.tencent.mm:appbrand1' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 26278 987 2319524 153968 ffffffff 00000000 S com.tencent.mm:appbrand1
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm:appbrand1'
[debug] [35m[AndroidDriver][39m Parsed pid: '25853' pkg: 'com.tencent.mm:appbrand0' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 25853 987 2577592 226224 ffffffff 00000000 S com.tencent.mm:appbrand0
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm:appbrand0'
[debug] [35m[AndroidDriver][39m Parsed pid: '25512' pkg: 'com.tencent.mm' from
[debug] [35m[AndroidDriver][39m USER PID PPID VSIZE RSS WCHAN PC NAME
[debug] [35m[AndroidDriver][39m u0_a114 25512 987 2282328 238688 ffffffff 00000000 S com.tencent.mm
[debug] [35m[AndroidDriver][39m Returning process name: 'com.tencent.mm'
[debug] [35m[AndroidDriver][39m Found webviews: ["WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand1","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm"]
[debug] [35m[AndroidDriver][39m Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand1","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm"]
[debug] [35m[AndroidDriver][39m Connecting to chrome-backed webview context 'WEBVIEW_com.tencent.mm:appbrand0'
[debug] [35m[AndroidDriver][39m A port was not given, using random port: 8000
[debug] [35m[Chromedriver][39m Changed state to 'starting'
[debug] [35m[Chromedriver][39m The following Chromedriver executables were found:
[debug] [35m[Chromedriver][39m C:/Users/liuyongfei/AppData/Local/Programs/Appium/resources/app/node_modules/appium/node_modules/appium-chromedriver/chromedriver/win/chromedriver.exe (minimum Chrome version '57.0.2987')
[debug] [35m[ADB][39m Getting package info for 'com.google.android.webview'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package com.google.android.webview'[debug] [35m[ADB][39m Getting package info for 'com.android.webview'
[debug] [35m[ADB][39m Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package com.android.webview'
[debug] [35m[Chromedriver][39m Found Chrome bundle 'com.android.webview' version '1.0.0'
[error] [35m[Chromedriver][39m Error: No Chromedriver found that can automate Chrome '1.0.0'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[error] [35m[Chromedriver][39m at Object.wrappedLogger.errorAndThrow (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[error] [35m[Chromedriver][39m at Chromedriver.getCompatibleChromedriver$ (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:227:11)
[error] [35m[Chromedriver][39m at tryCatch (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[error] [35m[Chromedriver][39m at GeneratorFunctionPrototype.invoke as _invoke
[error] [35m[Chromedriver][39m at GeneratorFunctionPrototype.prototype.(anonymous function) as next
[error] [35m[Chromedriver][39m at GeneratorFunctionPrototype.invoke (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[error] [35m[Chromedriver][39m at
[error] [35m[Chromedriver][39m Error: No Chromedriver found that can automate Chrome '1.0.0'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[error] [35m[Chromedriver][39m at Object.wrappedLogger.errorAndThrow (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[error] [35m[Chromedriver][39m at Chromedriver.getCompatibleChromedriver$ (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:227:11)
[error] [35m[Chromedriver][39m at tryCatch (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[error] [35m[Chromedriver][39m at GeneratorFunctionPrototype.invoke as _invoke
[error] [35m[Chromedriver][39m at GeneratorFunctionPrototype.prototype.(anonymous function) as next
[error] [35m[Chromedriver][39m at GeneratorFunctionPrototype.invoke (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[error] [35m[Chromedriver][39m at
[error] [35m[MJSONWP][39m Encountered internal error running command: Error: No Chromedriver found that can automate Chrome '1.0.0'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[error] [35m[MJSONWP][39m at Object.wrappedLogger.errorAndThrow (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[error] [35m[MJSONWP][39m at Chromedriver.getCompatibleChromedriver$ (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:227:11)
[error] [35m[MJSONWP][39m at tryCatch (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[error] [35m[MJSONWP][39m at GeneratorFunctionPrototype.invoke as _invoke
[error] [35m[MJSONWP][39m at GeneratorFunctionPrototype.prototype.(anonymous function) as next
[error] [35m[MJSONWP][39m at GeneratorFunctionPrototype.invoke (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[error] [35m[MJSONWP][39m at
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/824df66c-5004-4410-add5-e4e3fd25cfd8/context [39m[31m500[39m [90m515 ms - 344[39m
[info] [35m[HTTP][39m [90m[39m

小程序代码


...
...




打折特价





限时特价


...
...
...
...
...
...

...
...
...
...
...

...
...

共收到 7 条回复 时间 点赞

我不是在我公众号上说了这个的么?请仔细看,https://mp.weixin.qq.com/s/U0jFiRsVsChHb8K9995QKQ

@#1 微信小程序自动化必须打开http://debugx5.qq.com调试功能么?

@xiaohengdada

我所有细节都注意到了但是不知道为什么报一个很奇怪的错误,
Error: No Chromedriver found that can automate Chrome '1.0.0'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
你知道这是为什么吗?我也没看见 chrome,1.0.0 啊。

[ADB] Getting package info for 'com.google.android.webview'
[ADB] Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package com.google.android.webview'
[ADB] Getting package info for 'com.android.webview'
[ADB] Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package com.android.webview'
😀 https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at Chromedriver.getCompatibleChromedriver$ (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:227:11)
[Chromedriver] at tryCatch (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[Chromedriver] at GeneratorFunctionPrototype.invoke as _invoke
[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) as next
[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[Chromedriver] at
[Chromedriver] Error: No Chromedriver found that can automate Chrome '1.0.0'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at Chromedriver.getCompatibleChromedriver$ (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:227:11)
[Chromedriver] at tryCatch (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[Chromedriver] at GeneratorFunctionPrototype.invoke as _invoke
[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) as next
[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[Chromedriver] at
[MJSONWP] Encountered internal error running command: Error: No Chromedriver found that can automate Chrome '1.0.0'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[MJSONWP] at Object.wrappedLogger.errorAndThrow (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[MJSONWP] at Chromedriver.getCompatibleChromedriver$ (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:227:11)
[MJSONWP] at tryCatch (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[MJSONWP] at GeneratorFunctionPrototype.invoke as _invoke
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) as next
[MJSONWP] at GeneratorFunctionPrototype.invoke (C:\Users\liuyongfei\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[MJSONWP] at
[HTTP] <-- POST /wd/hub/session/972c8dea-c5fb-49b6-a2d4-bec64e8e5165/context 500 767 ms - 344
[HTTP]
Appium server stopped successfully

Lionleoliu 回复

你这个包版本号多少?[ADB] Running 'E:\AndroidSdk\platform-tools\adb.exe -P 5037 -s dde4f9e1 shell dumpsys package com.android.webview'

笑哼 回复

兄台能否加个微信或 QQ 什么的,这个问题确实困扰我一段时间了,换了手机又报其他错误,但是大意就是找不到 context 去转换。

Lionleoliu 回复

你点我的头像,我的个人主页上微信和扣扣都写了,建议加我的微信,扣扣用得不多

@xiaohengdada 加你了我微信名叫 Leoliu 麻烦加一下啊。

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册