Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@prat3ik
Created July 19, 2018 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prat3ik/dcda0b338797d03f21cd3e5de377967b to your computer and use it in GitHub Desktop.
Save prat3ik/dcda0b338797d03f21cd3e5de377967b to your computer and use it in GitHub Desktop.
Appium is not able to get some UI element details
[Appium] Welcome to Appium v1.7.2
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 8 ms - 29
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"C:\\Users\\Pratik\\Downloads\\musical-ly-7-5-1.apk","appActivity":"com.ss.android.ugc.aweme.splash.SplashActivity","appPackage":"com.zhiliaoapp.musically","automationName":"uiautomator2","deviceName":"c4e3f3cd","platformName":"Android","platformVersion":"8.0","newCommandTimeout":0,"connectHardwareKeyboard":true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"C:\\Users\\Pratik\\Downloads\\musical-ly-7-5-1.apk","appActivity":"com.ss.android.ugc.aweme.splash.SplashActivity","appPackage":"com.zhiliaoapp.musically","automationName":"uiautomator2","deviceName":"c4e3f3cd","platformName":"Android","platformVersion":"8.0","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null]
[BaseDriver] Event 'newSessionRequested' logged at 1531984855970 (12:50:55 GMT+0530 (India Standard Time))
[Appium] Creating new AndroidUiautomator2Driver (v0.11.0) session
[Appium] Capabilities:
[Appium] app: C:\Users\Pratik\Downloads\musical-ly-7-5-1.apk
[Appium] appActivity: com.ss.android.ugc.aweme.splash.SplashActivity
[Appium] appPackage: com.zhiliaoapp.musically
[Appium] automationName: uiautomator2
[Appium] deviceName: c4e3f3cd
[Appium] platformName: Android
[Appium] platformVersion: 8.0
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[BaseDriver] The following capabilities were provided, but are not recognized by appium: connectHardwareKeyboard.
[BaseDriver] Session created with session id: 41edbdb8-bb38-4cfa-af3b-7bc8a25e0775
[BaseDriver] Using local app 'C:\Users\Pratik\Downloads\musical-ly-7-5-1.apk'
[UiAutomator2] Checking whether app is actually present
[AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_171
[ADB] Checking whether adb is present
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android '8.0'
[ADB] Setting device id to c4e3f3cd
[ADB] Getting device platform version
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","getprop","ro.build.version.release"]
[ADB] Current device property 'ro.build.version.release': 8.0.0
[AndroidDriver] Using device: c4e3f3cd
[ADB] Checking whether adb is present
[ADB] Setting device id to c4e3f3cd
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","getprop","ro.build.version.sdk"]
[ADB] Current device property 'ro.build.version.sdk': 26
[ADB] Device API level: 26
[ADB] Getting device platform version
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","getprop","ro.build.version.release"]
[ADB] Current device property 'ro.build.version.release': 8.0.0
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","wm","size"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","wm","density"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","getprop","ro.product.model"]
[ADB] Current device property 'ro.product.model': ONEPLUS A3003
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","getprop","ro.product.manufacturer"]
[ADB] Current device property 'ro.product.manufacturer': OnePlus
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","am","force-stop","io.appium.uiautomator2.server"]
[ADB] Checking whether aapt is present
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","list","packages","io.appium.uiautomator2.server"]
[ADB] App is installed
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[ADB] App is installed
[ADB] Getting package info for io.appium.uiautomator2.server
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","dumpsys","package","io.appium.uiautomator2.server"]
[UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","list","instrumentation"]
[UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","wait-for-device"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","echo","ping"]
[AndroidDriver] setDeviceLanguageCountry requires language or country.
[AndroidDriver] Got language: 'undefined' and country: 'undefined'
[Logcat] Starting logcat capture
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","list","packages","io.appium.settings"]
[ADB] App is installed
[ADB] Getting package info for io.appium.settings
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","dumpsys","package","io.appium.settings"]
[ADB] Checking whether aapt is present
[ADB] The installed 'io.appium.settings' package does not require upgrade (5 >= 5)
[ADB] Device API level: 26
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","dumpsys","package","io.appium.settings"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","dump","io.appium.settings"]
[ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","ps"]
[ADB] Device API level: 26
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[ADB] Device API level: 26
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[AndroidDriver] Pushing unlock helper app to device...
[ADB] Getting install status for io.appium.unlock
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","list","packages","io.appium.unlock"]
[ADB] App is installed
[ADB] Getting package info for io.appium.unlock
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","dumpsys","package","io.appium.unlock"]
[ADB] Checking whether aapt is present
[ADB] The installed 'io.appium.unlock' package does not require upgrade (2 >= 2)
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","forward","tcp:8200","tcp:6790"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidDriver] Extracting strings from apk C:\Users\Pratik\Downloads\musical-ly-7-5-1.apk undefined C:\Users\Pratik\AppData\Local\Temp\com.zhiliaoapp.musically
[ADB] Extracting strings for language: default
[ADB] Device API level: 26
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","getprop","persist.sys.locale"]
[ADB] Current device property 'persist.sys.locale': en-US
[ADB] Reading strings from converted strings.json
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","push","C:\\Users\\Pratik\\AppData\\Local\\Temp\\com.zhiliaoapp.musically\\strings.json","/data/local/tmp"]
[ADB] Checking app cert for C:\Users\Pratik\Downloads\musical-ly-7-5-1.apk
[ADB] Patching 'D:\Android_SDK\build-tools\27.0.3\apksigner.bat' for Windows...
[ADB] Starting patched 'C:\Users\Pratik\AppData\Local\Temp\2018619-6952-1eofh4e.lxov\apksigner.bat' with args 'verify,C:\Users\Pratik\Downloads\musical-ly-7-5-1.apk'
[ADB] 'C:\Users\Pratik\Downloads\musical-ly-7-5-1.apk' is already signed.
[AndroidDriver] Remote apk path is /data/local/tmp/92ff616aede8a998f1e6baab59f2a4a7.apk
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","ls","/data/local/tmp/92ff616aede8a998f1e6baab59f2a4a7.apk"]
[AndroidDriver] Checking if app is installed
[ADB] Getting install status for com.zhiliaoapp.musically
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","list","packages","com.zhiliaoapp.musically"]
[ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[AndroidDriver] Running fast reset (stop and clear)
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","am","force-stop","com.zhiliaoapp.musically"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","pm","clear","com.zhiliaoapp.musically"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.3.0
[UiAutomator2] Running command: 'adb -s c4e3f3cd shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online...
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}"
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"C:\\Users\\Pratik\\Downloads\\musical-ly-7-5-1.apk","appActivity":"com.ss.android.ugc.aweme.splash.SplashActivity","appPackage":"com.zhiliaoapp.musically","automationName":"uiautomator2","deviceName":"c4e3f3cd","platformName":"Android","platformVersion":"8.0","newCommandTimeout":0,"connectHardwareKeyboard":true},"app":"C:\\Users\\Pratik\\Downloads\\musical-ly-7-5-1.apk","appActivity":"com.ss.android.ugc.aweme.splash.SplashActivity","appPackage":"com.zhiliaoapp.musically","automationName":"uiautomator2","deviceName":"c4e3f3cd","platformName":"Android","platformVersion":"8.0.0","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus"}}
[JSONWP Proxy] Got response with status 200: {"sessionId":"a79da47a-7ee9-45b6-acf7-b60266535bca","status":0,"value":"Created Session"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.zhiliaoapp.musically/com.ss.android.ugc.aweme.splash.SplashActivity'. Starting it ourselves
[ADB] Device API level: 26
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","am","start","-W","-n","com.zhiliaoapp.musically/com.ss.android.ugc.aweme.splash.SplashActivity","-S"]
[Appium] New AndroidUiautomator2Driver session created successfully, session 41edbdb8-bb38-4cfa-af3b-7bc8a25e0775 added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1531984900417 (12:51:40 GMT+0530 (India Standard Time))
[MJSONWP] Responding to client with driver.createSession() result: {"app":"C:\\Users\\Pratik\\Downloads\\musical-ly-7-5-1.apk","appActivity":"com.ss.android.ugc.aweme.splash.SplashActivity","appPackage":"com.zhiliaoapp.musically","automationName":"uiautomator2","deviceName":"c4e3f3cd","platformName":"Android","platformVersion":"8.0","newCommandTimeout":0,"connectHardwareKeyboard":true}
[HTTP] <-- POST /wd/hub/session 200 44449 ms - 393
[HTTP] --> POST /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/context {"name":"NATIVE_APP"}
[MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","41edbdb8-bb38-4cfa-af3b-7bc8a25e0775"]
[AndroidDriver] Getting a list of available webviews
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\Android_SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","c4e3f3cd","shell","cat","/proc/net/unix"]
[AndroidDriver] Found webviews: ["WEBVIEW_chrome"]
[AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_chrome"]
[MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/context 200 486 ms - 76
[HTTP] --> GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/source] to [GET http://localhost:8200/wd/hub/session/a79da47a-7ee9-45b6-acf7-b60266535bca/source] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"a79da47a-7ee9-45b6-acf7-b60266535bca\",\"status\":0,\"value\":\"
[JSONWP Proxy] Replacing sessionId a79da47a-7ee9-45b6-acf7-b60266535bca with 41edbdb8-bb38-4cfa-af3b-7bc8a25e0775
[HTTP] <-- GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/source 200 8570 ms - 41218
[HTTP] --> GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/screenshot {}
[MJSONWP] Calling AppiumDriver.getScreenshot() with args: ["41edbdb8-bb38-4cfa-af3b-7bc8a25e0775"]
[ADB] Device API level: 26
[MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAACAAElEQVR4AeTBXbDmh0Ef5uf37pe0K3/JhAuoza4ITgjh00CI5ZCQZNLKRobMtLJMcpGrTGYY2kmGTDK94qIzDQPTaXvXmV500hZcbpppjCwrHUsWxlrtSiaBEEsubayVsa2NLWEkG8l7zvn1/3Her/Oes7sSH9Okz5Of+7mfqzcgWCROL045lTi1WFhYWCSWqkZBEVE1SmKprVkktJWEUtuCKoIiqKUk2ppFQltJtAa1K2ZFULNYSmhrFhQxq22xKaF1qLZFQlvErIilhBrUCWqSUFsSWodqLUZFEm3FILR2JKG1JdHWppgVQfHf//wv+s//0c8KapZEW7cjibZuJYm2bkcSbd1KEm3dTBJt/UlIoq1NSWxqa1MSbZ0ooXVLCS0JrUmirVESbQU1S0KrSKKtTUm0lURbS0mM2hoFtS2Jtpb+u5//Rf/FP/pZfxySaOtmkmhrKYm2NiXR1h+JhNYtJbR2JNqK21PErGaxIaFFCFq1K4m2RkHdSlCzSGgdqrWY1SiJtk4W1FrMai1mRVD/zT/5Rf/gH/9DCW3NgpoFRSQmbRFUEq1BEdtqFitBERRBayWhdgU1KGJXEbMiZkWsBDWpGkUsFbFWFTEqElpiVgQ1qog6qpJoTYIq4lYSWlsSWhuKSGi9TkUIapLQWkmstI6V0NqRUPzif/0LfvYf/0O3LahbC2oWFLGtXp/Q2hLUthiEloSWxKQlMWlNEloSWisJLUm0JUS0dZyE1iShNQtqV1CEiLYEtRaUJKrUyYKaJNHWlpjVLCiCurkEpUhoHSuoWQxC6xf+yS94+u1v8v9VRfzh1Swo4mQ1i7VaC2pXULOY1VpQBDULaldQfzyCun2xrU4W1K7vf/EVv3H3XX757/49apYI2hKzIijieEUMgiKoHTULigQ1qVnMai0oEtQsRkEVQUW0JbGrWhaLaB2qJNpKojVJODiohNYkiZO0lURVRFXE...
[HTTP] <-- GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/screenshot 200 9085 ms - 2351338
[HTTP] --> GET /wd/hub/session/17b6689b-30d7-43c6-bda7-c668e96ab306/source {}
[HTTP] <-- GET /wd/hub/session/17b6689b-30d7-43c6-bda7-c668e96ab306/source 404 55 ms - 131
[HTTP] --> GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/source] to [GET http://localhost:8200/wd/hub/session/a79da47a-7ee9-45b6-acf7-b60266535bca/source] with body: {}
[HTTP] --> DELETE /wd/hub/session/17b6689b-30d7-43c6-bda7-c668e96ab306 {}
[HTTP] <-- DELETE /wd/hub/session/17b6689b-30d7-43c6-bda7-c668e96ab306 404 40 ms - 131
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"a79da47a-7ee9-45b6-acf7-b60266535bca\",\"status\":0,\"value\":\"
[JSONWP Proxy] Replacing sessionId a79da47a-7ee9-45b6-acf7-b60266535bca with 41edbdb8-bb38-4cfa-af3b-7bc8a25e0775
[HTTP] <-- GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/source 200 10311 ms - 5914
[HTTP] --> GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/screenshot {}
[MJSONWP] Calling AppiumDriver.getScreenshot() with args: ["41edbdb8-bb38-4cfa-af3b-7bc8a25e0775"]
[ADB] Device API level: 26
[MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAACAAElEQVR4AezBfbSnB0Ef+M83CU24k4SZCRAhE8BiiciMOjNp17jVIngqgd0a6FIr0J6zvNk9td2KKL5tD8fyYo+tecG/eiokrlsSEvLibl0EVyVBktb2LJngSyUTRKElZCZAEgKTS+a793mee+9zf3PvnRlQq3vK55M3v/nN9RU644wznHnmGZaeuGT3Bbvt2rnTk84/39LSknPOORuR0BoltCS0Rol1rVGCWpfQGsWsCOrUgiKozWJF/PmoSUJLQmuU0JIYtUYJLYlRa0sJLQmtbcWfud859BHP++ZvtbX6b1WtqElCS0JrS4lRa5TQkljQGiW0JLS2lDhdQRHUJBbVJCiC2lpMahLUyQU1iVnxO4c+4nnf/K22E9TJxaxmQW0vqElQk6BmQU2C2iwogpoFtbWYFEFtL1YFddqCmsSktpbQEpOaBDUrgiImbZ0ooup0RFRFDKoGSWwlJnV6fueej3jevm912kJEW0m0FSsSpyMogjp9QRHUCVoSa4KaBLW1mNQsqFlQpyeozYJaFNSpBbUoqElQK1oSWhJaElqjhNYmCa2TSixorUuMWifzu/fc7Zv2fQsJrXUJrW0ltCS0TlSzhNa6oP78BbW1WBGUWhTUJDYIrVFCS1AENQtqUVCbBTWLSW0WFEloDZIY1KLYQsxqEtQsNqt1RVCrWr9zz91efOU1JjEpgtpeUAQ1iUU1CYqgFgW1KKhJUAT11YtJEdT2YlIENYlFNQnq1ILaLCY1C2oW1CRmRVB/ckER1KKY1FcmqF/5oX/kxVe+wx++8xesKWJSk6AIamtBnVpQpycogiKozYKaxaS2FtTpCYqY1CSoRUGdvpgUQa1ofdUSo5aEloTWgoTWJolBFUF98Ytf8sUvftHDDz/swc9+1oMPftYXvvCoxx9/3PHjx32lznKazjjjDGeffbbzzjvX1114oac/7Wl27NhhkFjQGiW0RgmtUWLU...
[HTTP] <-- GET /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/screenshot 200 12630 ms - 2416310
[HTTP] --> POST /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/elements {"using":"id","value":"com.zhiliaoapp.musically:id/yj"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["id","com.zhiliaoapp.musically:id/yj","41edbdb8-bb38-4cfa-af3b-7bc8a25e0775"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/a79da47a-7ee9-45b6-acf7-b60266535bca/elements] with body: {"strategy":"id","selector":"com.zhiliaoapp.musically:id/yj","context":"","multiple":true}
[HTTP] --> POST /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/elements {"using":"id","value":"com.zhiliaoapp.musically:id/ym"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["id","com.zhiliaoapp.musically:id/ym","41edbdb8-bb38-4cfa-af3b-7bc8a25e0775"]
[HTTP] --> POST /wd/hub/session/41edbdb8-bb38-4cfa-af3b-7bc8a25e0775/elements {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout","41edbdb8-bb38-4cfa-af3b-7bc8a25e0775"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment