Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wangtao169447/6503e1e296d9d8c857a11ef6bb3a9693 to your computer and use it in GitHub Desktop.
Save wangtao169447/6503e1e296d9d8c857a11ef6bb3a9693 to your computer and use it in GitHub Desktop.
uiautomator2,tag_name function work wrong
[Appium] Welcome to Appium v1.6.5
[Appium] Non-default server args:
[Appium] sessionOverride: true
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"3HX7N17115002555","unicodeKeyboard":true,"udid":"3HX7N17115002555","automationName":"uiautomator2","newCommandTimeout":1800,"noReset":true,"autoLaunch":true,"resetKeyboard":true,"platformVersion":"7.0","appPackage":"com.june.demo","platformName":"Android","appActivity":"com.june.demo.SplashActivity"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"3HX7N17115002555","unicodeKeyboard":true,"udid":"3HX7N17115002555","automationName":"uiautomator2","newCommandTimeout":1800,"noReset":true,"autoLaunch":true,"resetKeyboard":true,"platformVersion":"7.0","appPackage":"com.june.demo","platformName":"Android","appActivity":"com.june.demo.SplashActivity"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1500356297451 (13:38:17 GMT+0800 (CST))
[Appium] Creating new AndroidUiautomator2Driver (v0.4.3) session
[Appium] Capabilities:
[Appium] deviceName: '3HX7N17115002555'
[Appium] unicodeKeyboard: true
[Appium] udid: '3HX7N17115002555'
[Appium] automationName: 'uiautomator2'
[Appium] newCommandTimeout: 1800
[Appium] noReset: true
[Appium] autoLaunch: true
[Appium] resetKeyboard: true
[Appium] platformVersion: '7.0'
[Appium] appPackage: 'com.june.demo'
[Appium] platformName: 'Android'
[Appium] appActivity: 'com.june.demo.SplashActivity'
[BaseDriver] Session created with session id: 65136ca5-907b-4222-abaf-e645335fd98d
[UiAutomator2] UIAutomator2 Driver version:0.4.3
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_91
[ADB] Checking whether adb is present
[ADB] Using adb from /usr/local/opt/android-sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: 3HX7N17115002555
[ADB] Checking whether adb is present
[ADB] Using adb from /usr/local/opt/android-sdk/platform-tools/adb
[debug] [ADB] Setting device id to 3HX7N17115002555
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': MHA-AL00
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","am","force-stop","io.appium.uiautomator2.server"]
[ADB] Checking whether aapt is present
[ADB] Using aapt from /usr/local/opt/android-sdk/build-tools/25.0.2/aapt
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","pm","list","packages","io.appium.uiautomator2.server"]
[debug] [ADB] App is installed
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /usr/local/opt/android-sdk/build-tools/25.0.2/aapt
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","dumpsys","package","io.appium.uiautomator2.server"]
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","pm","list","instrumentation"]
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Enabling Unicode keyboard support
[debug] [AndroidDriver] Pushing unicode ime to device...
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","install","/usr/local/lib/node_modules/appium/node_modules/appium-android-ime/bin/UnicodeIME-debug.apk"]
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","install","/usr/local/lib/node_modules/appium/node_modules/appium-android-ime/bin/UnicodeIME-debug.apk"]
[debug] [ADB] Application '/usr/local/lib/node_modules/appium/node_modules/appium-android-ime/bin/UnicodeIME-debug.apk' already installed. Continuing.
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","settings","get","secure","default_input_method"]
[debug] [AndroidDriver] Unsetting previous IME io.appium.android.ime/.UnicodeIME
[debug] [AndroidDriver] Setting IME to 'io.appium.android.ime/.UnicodeIME'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","ime","enable","io.appium.android.ime/.UnicodeIME"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","ime","set","io.appium.android.ime/.UnicodeIME"]
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...
[ADB] Checking whether aapt is present
[ADB] Using aapt from /usr/local/opt/android-sdk/build-tools/25.0.2/aapt
[ADB] Cannot read version codes of /usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk and/or io.appium.settings. Assuming correct app version is already installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","dumpsys","package","io.appium.settings"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [ADB] Application '/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk' already installed. Continuing.
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8201
[debug] [ADB] Forwarding system: 8201 to device: 6790
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","forward","tcp:8201","tcp:6790"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk null null /var/folders/f7/mk0478xj21j_n422kl1ns_hc0000gn/T/com.june.demo
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': zh-Hans-CN
[debug] [ADB] No strings.xml for language 'zh', getting default strings.xml
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","rm","-rf","/data/local/tmp/strings.json"]
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [ADB] APK doesn't exist. null
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.1.7
[UiAutomator2] Running command: 'adb -s 3HX7N17115002555 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online...
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8201/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8201/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"3HX7N17115002555","unicodeKeyboard":true,"udid":"3HX7N17115002555","automationName":"uiautomator2","newCommandTimeout":1800,"noReset":true,"autoLaunch":true,"resetKeyboard":true,"platformVersion":"7.0","appPackage":"com.june.demo","platformName":"Android","appActivity":"com.june.demo.SplashActivity"},"deviceName":"3HX7N17115002555","unicodeKeyboard":true,"udid":"3HX7N17115002555","automationName":"uiautomator2","newCommandTimeout":1800,"noReset":true,"autoLaunch":true,"resetKeyboard":true,"platformVersion":"7.0","appPackage":"com.june.demo","platformName":"Android","appActivity":"com.june.demo.SplashActivity","deviceUDID":"3HX7N17115002555","deviceScreenSize":"1080x1920","deviceModel":"MHA-AL00","deviceManufacturer":"HUAWEI"}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":"Created Session"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.june.demo/com.june.demo.SplashActivity'. Starting it ourselves
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/usr/local/opt/android-sdk/platform-tools/adb' with args: ["-P",5037,"-s","3HX7N17115002555","shell","am","start","-W","-n","com.june.demo/com.june.demo.SplashActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[Appium] New AndroidUiautomator2Driver session created successfully, session 65136ca5-907b-4222-abaf-e645335fd98d added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1500356308727 (13:38:28 GMT+0800 (CST))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"deviceName":"3HX7N17115002555","unicodeKeyboard":true,"udid":"3HX7N17115002555","automationName":"uiautomator2","newCommandTimeout":1800,"noReset":true,"autoLaunch":true,"resetKeyboard":true,"platformVersion":"7.0","appPackage":"com.june.demo","platformName":"Android","appActivity":"com.june.demo.SplashActivity"}
[HTTP] <-- POST /wd/hub/session 200 11282 ms - 400
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b"},{"ELEMENT":"31abf68d-2a99-4536-a318-1ddf9b484e10"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b"},{"ELEMENT":"31abf68d-2a99-4536-a318-1ddf9b484e10"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 231 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"暂不删除\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "暂不删除"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/7260f8bd-6c9b-4643-8ca7-ffaaf5e28f3b/attribute/text 200 20 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/31abf68d-2a99-4536-a318-1ddf9b484e10/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","31abf68d-2a99-4536-a318-1ddf9b484e10","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/31abf68d-2a99-4536-a318-1ddf9b484e10/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/31abf68d-2a99-4536-a318-1ddf9b484e10/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"立即删除\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "立即删除"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/31abf68d-2a99-4536-a318-1ddf9b484e10/attribute/text 200 16 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/31abf68d-2a99-4536-a318-1ddf9b484e10/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["31abf68d-2a99-4536-a318-1ddf9b484e10","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/31abf68d-2a99-4536-a318-1ddf9b484e10/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/31abf68d-2a99-4536-a318-1ddf9b484e10/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/31abf68d-2a99-4536-a318-1ddf9b484e10/name 500 30 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"1108d918-ea15-4975-935e-568f3102d12e"},{"ELEMENT":"870a7219-3372-477b-ba3b-f1bcf48ee456"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"1108d918-ea15-4975-935e-568f3102d12e"},{"ELEMENT":"870a7219-3372-477b-ba3b-f1bcf48ee456"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 28 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/1108d918-ea15-4975-935e-568f3102d12e/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","1108d918-ea15-4975-935e-568f3102d12e","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/1108d918-ea15-4975-935e-568f3102d12e/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/1108d918-ea15-4975-935e-568f3102d12e/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"暂不删除\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "暂不删除"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/1108d918-ea15-4975-935e-568f3102d12e/attribute/text 200 27 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/870a7219-3372-477b-ba3b-f1bcf48ee456/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","870a7219-3372-477b-ba3b-f1bcf48ee456","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/870a7219-3372-477b-ba3b-f1bcf48ee456/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/870a7219-3372-477b-ba3b-f1bcf48ee456/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"立即删除\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "立即删除"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/870a7219-3372-477b-ba3b-f1bcf48ee456/attribute/text 200 40 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/870a7219-3372-477b-ba3b-f1bcf48ee456/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["870a7219-3372-477b-ba3b-f1bcf48ee456","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/870a7219-3372-477b-ba3b-f1bcf48ee456/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/870a7219-3372-477b-ba3b-f1bcf48ee456/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/870a7219-3372-477b-ba3b-f1bcf48ee456/name 500 25 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"a45d691a-d362-40d4-9e44-24b63a3559e0"},{"ELEMENT":"0abcf644-3b3c-4d7b-a600-27072eb8ff00"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"a45d691a-d362-40d4-9e44-24b63a3559e0"},{"ELEMENT":"0abcf644-3b3c-4d7b-a600-27072eb8ff00"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 24 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/a45d691a-d362-40d4-9e44-24b63a3559e0/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","a45d691a-d362-40d4-9e44-24b63a3559e0","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/a45d691a-d362-40d4-9e44-24b63a3559e0/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/a45d691a-d362-40d4-9e44-24b63a3559e0/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"暂不删除\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "暂不删除"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/a45d691a-d362-40d4-9e44-24b63a3559e0/attribute/text 200 31 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","0abcf644-3b3c-4d7b-a600-27072eb8ff00","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"立即删除\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "立即删除"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/attribute/text 200 25 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["0abcf644-3b3c-4d7b-a600-27072eb8ff00","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/0abcf644-3b3c-4d7b-a600-27072eb8ff00/name 500 20 ms - 289
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.huawei.systemmanager\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,420][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.huawei.systemmanager\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 135 ms - 7968
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.huawei.systemmanager\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,420][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.huawei.systemmanager\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 42 ms - 7968
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,72][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 77 ms - 8290
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,72][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 49 ms - 8290
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,72][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 48 ms - 8290
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,72][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 40 ms - 8290
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,72][1080,1812]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"com.june.demo\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\...
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/source 200 40 ms - 8290
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"-android uiautomator","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"new UiSelector().resourceId(\"com.june.demo:id/androidm_dialog_button\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().resourceId(\"com.june.demo:id/androidm_dialog_button\")","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.june.demo:id/androidm_dialog_button\")","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"65a303d9-da67-4f3c-b19f-cb5c55c57c6b"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"65a303d9-da67-4f3c-b19f-cb5c55c57c6b"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 45 ms - 124
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["65a303d9-da67-4f3c-b19f-cb5c55c57c6b","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"\"}"
[debug] [MJSONWP] Responding to client with driver.getName() result: ""
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/name 200 27 ms - 74
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/size {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/size] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/size] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":{\"width\":754,\"height\":156}}"
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/size 200 34 ms - 98
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":{\"x\":162,\"y\":1294}}"
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location 200 35 ms - 90
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":{\"x\":162,\"y\":1294}}"
[JSONWP Proxy] Replacing sessionId 5d1cf2e9-6f51-48fc-a787-8b338bb340dc with 65136ca5-907b-4222-abaf-e645335fd98d
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/65a303d9-da67-4f3c-b19f-cb5c55c57c6b/location 200 32 ms - 90
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/screenshot {}
[debug] [MJSONWP] Calling AppiumDriver.getScreenshot() with args: ["65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [ADB] Device API level: 24
[debug] [MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAACAAElEQVR4AezBC1yUdaL4/88zDNdRwNuDAoqMeGfSFAMtMxtNK4UuljGVmUntnkqnrd3WsM557TFre+2p0XXTRLcsxbXs5LCmpjyamgZImg55d7CUhEdQQQcQZ5j/6/md1/xfHA6GF67t9/2WAC+CIAiCIAiCIAiCIAjtmA5BEARBEARBEARBEIR2TocgCIIgCIIgCIIgCEI7p0MQBEEQBEEQBEEQBKGd0yEIgiAIgiAIgiAIgtDO6RAEQRAEQRAEQRAEQWjndAiCIAiCIAiCIAiCILRzOgRBEARBEARBEARBENo5HYIgCIIgCIIgCIIgCO2cDkEQBEEQBEEQBEEQhHZOhyAIgiAIgiAIgiAIQjunQxAEQRAEQRAEQRAEoZ3TIQiCIAiCIAiCIAiC0M7pEARBEARBEARBEARBaOd0CIIgCIIgCIIgCIIgtHM6BEEQBEEQBEEQBEEQ2jkdgiAIgiAIgiAIgiAI7ZwOQRAEQRAEQRAEQRCEdk6HIAiCIAiCIAiCIAhCO6dHEJpIQEAAo0ePZufOndTU1NAeBAQEMHr0aHbu3ElNTQ0tJTg4mISEBEJDQ2lpFRUV5OfnU1VVhSAIgiAI/7pkWUaWZeqqrKzE6XTSkmRZJi0tDaPRiCzLXCtFUbDZbAiCIPjoEdqkzp07c+7cOdqTRx99lKlTpxIZGcknn3xCe/Doo48ydepUIiMj+eSTT2gJwcHBvPPOO/Tu3ZvWcvLkSf7whz9QVVWFIAiCIAj/m8FgID09HaPRSEZGBoqi0FTMZjNpaWmUlJTw2muv4XK5aAlGo5HExESMRiNGoxFZlvklLpcLp9OJw+HA4XBQUFBAc5BlmYULF2IwGLheZrMZjc1mQxCuR2xsLMXFxVRVVSH8uugR2pyuXbvy5z//maqqKtatW0d2djZtmSRJDBo0iDFjxqAZM2YM+/bt44cffsDr9dIWSZLEoEGDGDNmDJox...
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/screenshot 200 1226 ms - 204590
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e"},{"ELEMENT":"da96009d-ae32-4912-9c6d-75bf803da908"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e"},{"ELEMENT":"da96009d-ae32-4912-9c6d-75bf803da908"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 38 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"禁止\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "禁止"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/d560053b-fc4f-48c2-aeb7-6e3aeeaaa39e/attribute/text 200 29 ms - 80
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/da96009d-ae32-4912-9c6d-75bf803da908/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","da96009d-ae32-4912-9c6d-75bf803da908","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/da96009d-ae32-4912-9c6d-75bf803da908/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/da96009d-ae32-4912-9c6d-75bf803da908/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"始终允许\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "始终允许"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/da96009d-ae32-4912-9c6d-75bf803da908/attribute/text 200 41 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/da96009d-ae32-4912-9c6d-75bf803da908/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["da96009d-ae32-4912-9c6d-75bf803da908","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/da96009d-ae32-4912-9c6d-75bf803da908/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/da96009d-ae32-4912-9c6d-75bf803da908/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/da96009d-ae32-4912-9c6d-75bf803da908/name 500 37 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"3170dec4-fee9-4765-9b22-364eb9a9e247"},{"ELEMENT":"5c558555-ff5e-4816-bf99-cb313aed616a"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"3170dec4-fee9-4765-9b22-364eb9a9e247"},{"ELEMENT":"5c558555-ff5e-4816-bf99-cb313aed616a"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 39 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/3170dec4-fee9-4765-9b22-364eb9a9e247/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","3170dec4-fee9-4765-9b22-364eb9a9e247","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/3170dec4-fee9-4765-9b22-364eb9a9e247/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/3170dec4-fee9-4765-9b22-364eb9a9e247/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"禁止\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "禁止"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/3170dec4-fee9-4765-9b22-364eb9a9e247/attribute/text 200 33 ms - 80
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/5c558555-ff5e-4816-bf99-cb313aed616a/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","5c558555-ff5e-4816-bf99-cb313aed616a","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/5c558555-ff5e-4816-bf99-cb313aed616a/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/5c558555-ff5e-4816-bf99-cb313aed616a/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"始终允许\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "始终允许"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/5c558555-ff5e-4816-bf99-cb313aed616a/attribute/text 200 36 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/5c558555-ff5e-4816-bf99-cb313aed616a/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["5c558555-ff5e-4816-bf99-cb313aed616a","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/5c558555-ff5e-4816-bf99-cb313aed616a/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/5c558555-ff5e-4816-bf99-cb313aed616a/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/5c558555-ff5e-4816-bf99-cb313aed616a/name 500 44 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"20d9b38f-6ab9-4190-9e4a-6dcddd6846e9"},{"ELEMENT":"9c725772-5c58-43f6-acb9-aadf1ed34b7b"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"20d9b38f-6ab9-4190-9e4a-6dcddd6846e9"},{"ELEMENT":"9c725772-5c58-43f6-acb9-aadf1ed34b7b"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 42 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/20d9b38f-6ab9-4190-9e4a-6dcddd6846e9/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","20d9b38f-6ab9-4190-9e4a-6dcddd6846e9","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/20d9b38f-6ab9-4190-9e4a-6dcddd6846e9/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/20d9b38f-6ab9-4190-9e4a-6dcddd6846e9/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"禁止\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "禁止"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/20d9b38f-6ab9-4190-9e4a-6dcddd6846e9/attribute/text 200 36 ms - 80
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","9c725772-5c58-43f6-acb9-aadf1ed34b7b","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"始终允许\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "始终允许"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/attribute/text 200 39 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["9c725772-5c58-43f6-acb9-aadf1ed34b7b","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/9c725772-5c58-43f6-acb9-aadf1ed34b7b/name 500 42 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"f932974d-a7c3-462c-9ee2-5de2ee8dfb17"},{"ELEMENT":"30e160b5-a5a3-4b6a-8634-b51713bf674d"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"f932974d-a7c3-462c-9ee2-5de2ee8dfb17"},{"ELEMENT":"30e160b5-a5a3-4b6a-8634-b51713bf674d"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 36 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/f932974d-a7c3-462c-9ee2-5de2ee8dfb17/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","f932974d-a7c3-462c-9ee2-5de2ee8dfb17","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/f932974d-a7c3-462c-9ee2-5de2ee8dfb17/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/f932974d-a7c3-462c-9ee2-5de2ee8dfb17/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"禁止\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "禁止"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/f932974d-a7c3-462c-9ee2-5de2ee8dfb17/attribute/text 200 35 ms - 80
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/30e160b5-a5a3-4b6a-8634-b51713bf674d/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","30e160b5-a5a3-4b6a-8634-b51713bf674d","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/30e160b5-a5a3-4b6a-8634-b51713bf674d/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/30e160b5-a5a3-4b6a-8634-b51713bf674d/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"始终允许\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "始终允许"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/30e160b5-a5a3-4b6a-8634-b51713bf674d/attribute/text 200 36 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/30e160b5-a5a3-4b6a-8634-b51713bf674d/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["30e160b5-a5a3-4b6a-8634-b51713bf674d","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/30e160b5-a5a3-4b6a-8634-b51713bf674d/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/30e160b5-a5a3-4b6a-8634-b51713bf674d/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/30e160b5-a5a3-4b6a-8634-b51713bf674d/name 500 32 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"831a12f3-7a1d-4af8-936b-cd1ecbb8dd25"},{"ELEMENT":"10c7ec93-cead-42a1-a483-f5fe30f6c3a9"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"831a12f3-7a1d-4af8-936b-cd1ecbb8dd25"},{"ELEMENT":"10c7ec93-cead-42a1-a483-f5fe30f6c3a9"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 43 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/831a12f3-7a1d-4af8-936b-cd1ecbb8dd25/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","831a12f3-7a1d-4af8-936b-cd1ecbb8dd25","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/831a12f3-7a1d-4af8-936b-cd1ecbb8dd25/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/831a12f3-7a1d-4af8-936b-cd1ecbb8dd25/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"禁止\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "禁止"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/831a12f3-7a1d-4af8-936b-cd1ecbb8dd25/attribute/text 200 36 ms - 80
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","10c7ec93-cead-42a1-a483-f5fe30f6c3a9","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"始终允许\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "始终允许"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/attribute/text 200 36 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["10c7ec93-cead-42a1-a483-f5fe30f6c3a9","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/10c7ec93-cead-42a1-a483-f5fe30f6c3a9/name 500 28 ms - 289
[HTTP] --> POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements {"using":"class name","sessionId":"65136ca5-907b-4222-abaf-e645335fd98d","value":"android.widget.Button"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widget.Button","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/elements] with body: {"strategy":"class name","selector":"android.widget.Button","context":"","multiple":true}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0,"value":[{"ELEMENT":"73817d13-a7c6-4054-9b03-db7e818da00f"},{"ELEMENT":"1d13fd20-0e40-4183-85e5-f74c4b560b89"}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"73817d13-a7c6-4054-9b03-db7e818da00f"},{"ELEMENT":"1d13fd20-0e40-4183-85e5-f74c4b560b89"}]
[HTTP] <-- POST /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/elements 200 31 ms - 175
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/73817d13-a7c6-4054-9b03-db7e818da00f/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","73817d13-a7c6-4054-9b03-db7e818da00f","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/73817d13-a7c6-4054-9b03-db7e818da00f/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/73817d13-a7c6-4054-9b03-db7e818da00f/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"禁止\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "禁止"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/73817d13-a7c6-4054-9b03-db7e818da00f/attribute/text 200 32 ms - 80
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/1d13fd20-0e40-4183-85e5-f74c4b560b89/attribute/text {}
[debug] [MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","1d13fd20-0e40-4183-85e5-f74c4b560b89","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/1d13fd20-0e40-4183-85e5-f74c4b560b89/attribute/text] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/1d13fd20-0e40-4183-85e5-f74c4b560b89/attribute/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0,\"value\":\"始终允许\"}"
[debug] [MJSONWP] Responding to client with driver.getAttribute() result: "始终允许"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/1d13fd20-0e40-4183-85e5-f74c4b560b89/attribute/text 200 29 ms - 86
[HTTP] --> GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/1d13fd20-0e40-4183-85e5-f74c4b560b89/name {}
[debug] [MJSONWP] Calling AppiumDriver.getName() with args: ["1d13fd20-0e40-4183-85e5-f74c4b560b89","65136ca5-907b-4222-abaf-e645335fd98d"]
[debug] [JSONWP Proxy] Proxying [GET /element/1d13fd20-0e40-4183-85e5-f74c4b560b89/name] to [GET http://localhost:8201/wd/hub/session/5d1cf2e9-6f51-48fc-a787-8b338bb340dc/element/1d13fd20-0e40-4183-85e5-f74c4b560b89/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"5d1cf2e9-6f51-48fc-a787-8b338bb340dc\",\"status\":0}"
[HTTP] <-- GET /wd/hub/session/65136ca5-907b-4222-abaf-e645335fd98d/element/1d13fd20-0e40-4183-85e5-f74c4b560b89/name 500 26 ms - 289
[Appium] Received SIGINT - shutting down
here is exception
[MJSONWP] Encountered internal error running command: Error: Did not get a valid response object. Object was: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0}
at JWProxy.command$ (../../../lib/jsonwp-proxy/proxy.js:165:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
Traceback (most recent call last):
File "/Users/june/Documents/demo.py", line 3109, in click_tap_element
class_name = element.tag_name
File "/Library/Python/2.7/site-packages/selenium-2.52.0-py2.7.egg/selenium/webdriver/remote/webelement.py", line 66, in tag_name
return self._execute(Command.GET_ELEMENT_TAG_NAME)['value']
File "/Library/Python/2.7/site-packages/selenium-2.52.0-py2.7.egg/selenium/webdriver/remote/webelement.py", line 469, in _execute
return self._parent.execute(command, params)
File "/Library/Python/2.7/site-packages/selenium-2.52.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 201, in execute
self.error_handler.check_response(response)
File "build/bdist.macosx-10.11-intel/egg/appium/webdriver/errorhandler.py", line 29, in check_response
raise wde
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Did not get a valid response object. Object was: {"sessionId":"5d1cf2e9-6f51-48fc-a787-8b338bb340dc","status":0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment