Skip to content

Instantly share code, notes, and snippets.

@jineshqa
Created August 23, 2017 19:51
Show Gist options
  • Save jineshqa/a4223f7111aaef85ec61f33c80a5a00e to your computer and use it in GitHub Desktop.
Save jineshqa/a4223f7111aaef85ec61f33c80a5a00e to your computer and use it in GitHub Desktop.
appium log without tap
appium -a 127.0.0.1 -p 4723 --chromedriver-port 9515 --chromedriver-executable /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver --no-reset
[Appium] Welcome to Appium v1.6.5
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] chromeDriverPort: 9515
[Appium] chromedriverExecutable: /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver
[Appium] noReset: true
[Appium] Deprecated server args:
[Appium] --no-reset => --default-capabilities '{"noReset":true}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] noReset: true
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {"capabilities":[{"desiredCapabilities":{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":"300","appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo"}},{"requiredCapabilities":{}}],"desiredCapabilities":{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":"300","appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":"300","appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo"},{},[{"desiredCapabilities":{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":"300","appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo"}},{"requiredCapabilities":{}}]]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1503517710749 (12:48:30 GMT-0700 (PDT))
[Appium] Creating new AndroidUiautomator2Driver (v0.3.3) session
[Appium] Capabilities:
[Appium] app: '/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk'
[Appium] appPackage: 'com.xxxx.scanner'
[Appium] appActivity: '.MainActivity'
[Appium] recreateChromeDriverSessions: true
[Appium] newCommandTimeout: '300'
[Appium] appWaitActivity: 'com.salesforce.androidsdk.ui.LoginActivity'
[Appium] automationName: 'uiautomator2'
[Appium] platformName: 'Android'
[Appium] deviceName: 'jinesh-n-demo'
[Appium] noReset: true
[BaseDriver] Capability 'newCommandTimeout' changed from string ('300') to integer (300). This may cause unexpected behavior
[BaseDriver] Session created with session id: ffd54012-3306-4ea7-9539-b8e00abfa313
[BaseDriver] Using local app '/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[UiAutomator2] UIAutomator2 Driver version:0.3.3
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_131
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/Jinesh/Library/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: emulator-5554
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/Jinesh/Library/Android/sdk/platform-tools/adb
[debug] [ADB] Setting device id to emulator-5554
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': Android SDK built for x86
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': unknown
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.uiautomator2.server"]
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[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 '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","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 /Users/Jinesh/Library/Android/sdk/build-tools/22.0.1/aapt
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","package","io.appium.settings"]
[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 '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 25
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","dump","io.appium.settings"]
[debug] [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,;
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","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: 25
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","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 '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","forward","tcp:8201","tcp:6790"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk null /var/folders/bg/8xq50k756f3b33nd7ndyk7mw0000gn/T/com.xxxx.scanner
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 25
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale':
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.product.locale"]
[debug] [ADB] Current device property 'ro.product.locale': en-US
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","push","/var/folders/bg/8xq50k756f3b33nd7ndyk7mw0000gn/T/com.xxxx.scanner/strings.json","/data/local/tmp"]
[debug] [ADB] Checking app cert for /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk.
[debug] [ADB] App already signed.
[debug] [ADB] Zip-aligning '/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk'
[ADB] Checking whether zipalign is present
[ADB] Using zipalign from /Users/Jinesh/Library/Android/sdk/build-tools/22.0.1/zipalign
[debug] [ADB] Zip-aligning apk.
[AndroidDriver] Remote apk path is /data/local/tmp/8dfcd9d5add7a7734393d6dc87baaaef.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","ls","/data/local/tmp/8dfcd9d5add7a7734393d6dc87baaaef.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for com.xxxx.scanner
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","list","packages","com.xxxx.scanner"]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/Jinesh/Library/Android/sdk/build-tools/22.0.1/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 '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","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 '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/Jinesh/Library/Android/sdk/build-tools/22.0.1/aapt
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","package","io.appium.uiautomator2.server"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.1.5 with cmd: am,instrument,-w,io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner
[UiAutomator2] running command...
adb -s emulator-5554 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] 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":{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":300,"appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo","noReset":true},"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":300,"appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"emulator-5554","noReset":true,"deviceUDID":"emulator-5554","platformV...
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"6614d08a-233f-4c06-8efe-bb1d5b0929cc","status":0,"value":"Created Session"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.xxxx.scanner/com.salesforce.androidsdk.ui.LoginActivity'. Starting it ourselves
[debug] [ADB] Device API level: 25
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","am","start","-W","-n","com.xxxx.scanner/.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Waiting for activity matching pkg: 'com.xxxx.scanner' and activity: 'com.salesforce.androidsdk.ui.LoginActivity' to be focused
[debug] [ADB] Possible activities, to be checked: com.salesforce.androidsdk.ui.LoginActivity, com.xxxx.scanner.com.salesforce.androidsdk.ui.LoginActivity
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'com.xxxx.scanner' and fully qualified activity name : 'com.salesforce.androidsdk.ui.LoginActivity'
[Appium] New AndroidUiautomator2Driver session created successfully, session ffd54012-3306-4ea7-9539-b8e00abfa313 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1503517732766 (12:48:52 GMT-0700 (PDT))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":"300","appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo","noReset":true}
[HTTP] <-- POST /wd/hub/session 200 22045 ms - 451
[HTTP] --> GET /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["ffd54012-3306-4ea7-9539-b8e00abfa313"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":300,"appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo","noReset":true},"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":300,"appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"emulator-5554","noReset":true,"deviceUDID":"emulator-5554","platformVersion":"7.1.1","device...
[HTTP] <-- GET /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313 200 10 ms - 1190
[HTTP] --> GET /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["ffd54012-3306-4ea7-9539-b8e00abfa313"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":300,"appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"jinesh-n-demo","noReset":true},"app":"/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/app/app-debug.apk","appPackage":"com.xxxx.scanner","appActivity":".MainActivity","recreateChromeDriverSessions":true,"newCommandTimeout":300,"appWaitActivity":"com.salesforce.androidsdk.ui.LoginActivity","automationName":"uiautomator2","platformName":"Android","deviceName":"emulator-5554","noReset":true,"deviceUDID":"emulator-5554","platformVersion":"7.1.1","device...
[HTTP] <-- GET /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313 200 10 ms - 1190
[HTTP] --> POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/context {"name":"NATIVE_APP"}
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","ffd54012-3306-4ea7-9539-b8e00abfa313"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_4755 mapped to pid 4755
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","ps"]
[debug] [AndroidDriver] Parsed pid: 4755 pkg: com.xxxx.scanner!
[debug] [AndroidDriver] from: u0_a120,4755,1353,1606992,130728,SyS_epoll_,00000000,S,com.xxxx.scanner
[debug] [AndroidDriver] returning process name: com.xxxx.scanner
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.xxxx.scanner"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xxxx.scanner"]
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/context 200 152 ms - 76
[HTTP] --> POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/context {"name":"WEBVIEW_com.xxxx.scanner"}
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.xxxx.scanner","ffd54012-3306-4ea7-9539-b8e00abfa313"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_4755 mapped to pid 4755
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/Jinesh/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","ps"]
[debug] [AndroidDriver] Parsed pid: 4755 pkg: com.xxxx.scanner!
[debug] [AndroidDriver] from: u0_a120,4755,1353,1614260,134768,SyS_epoll_,00000000,S,com.xxxx.scanner
[debug] [AndroidDriver] returning process name: com.xxxx.scanner
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.xxxx.scanner"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xxxx.scanner"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.xxxx.scanner'
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver
[Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver.*--port=9515"
[Chromedriver] No old chromedrivers seemed to exist
[Chromedriver] Spawning chromedriver with: /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver --url-base=wd/hub --port=9515 --adb-port=5037
[Chromedriver] [STDOUT] Starting ChromeDriver 2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9) on port 9515
Only local connections are allowed.
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Mac OS X\",\"version\":\"10.12.5\"}}}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.xxxx.scanner","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"}}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7c7e5ca80dd5cf3363f873d821e05874","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9)"},"cssSelectorsEnabled":true,"databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","rotatable":false,"takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"","version":"55.0.2883.91","webStorageEnabled":true}}
[debug] [Chromedriver] Changed state to 'online'
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/context 200 1133 ms - 76
[HTTP] --> POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/element {"using":"class name","value":"username"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/element] to [POST http://127.0.0.1:9515/wd/hub/session/7c7e5ca80dd5cf3363f873d821e05874/element] with body: {"using":"class name","value":"username"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7c7e5ca80dd5cf3363f873d821e05874","status":0,"value":{"ELEMENT":"0.25253317763889105-1"}}
[JSONWP Proxy] Replacing sessionId 7c7e5ca80dd5cf3363f873d821e05874 with ffd54012-3306-4ea7-9539-b8e00abfa313
[HTTP] <-- POST /wd/hub/session/ffd54012-3306-4ea7-9539-b8e00abfa313/element 200 129 ms - 107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment