Skip to content

Instantly share code, notes, and snippets.

@logakarthi
Created December 22, 2018 09:28
Show Gist options
  • Save logakarthi/4670b88ff787e546ea55e4b477ff88f0 to your computer and use it in GitHub Desktop.
Save logakarthi/4670b88ff787e546ea55e4b477ff88f0 to your computer and use it in GitHub Desktop.
Last login: Sat Dec 22 12:36:36 on ttys003
^R
apple@apples-MacBook-Pro ~/Downloads
$ appium -a 127.0.0.1 -p 4723 --session-override --nodeconfig /Users/apple/Documents/selenium/android.json --chromedriver-executable /Users/apple/Desktop/Chromedriver/44
[Appium] Welcome to Appium v1.7.1
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] sessionOverride: true
[Appium] nodeconfig: /Users/apple/Documents/selenium/android.json
[Appium] chromedriverExecutable: /Users/apple/Desktop/Chromedriver/44
[Appium] Unable to load node configuration file to register with grid: ENOENT: no such file or directory, open '/Users/apple/Documents/selenium/android.json'
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk","appPackage":"org.ck12.app.practice","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"ZY224QJNRJ","nativeWebTap":true,"appActivity":"org.ck12.app.practice.MainActivity","chromedriverExecutable":"/Users/apple/Desktop/ChromeDriver/44/chromedriver","newCommandTimeout":1000,"autoLaunch":true,"browserName":"","autoWebview":"true","platformName":"Android"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk","appPackage":"org.ck12.app.practice","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"ZY224QJNRJ","nativeWebTap":true,"appActivity":"org.ck12.app.practice.MainActivity","chromedriverExecutable":"/Users/apple/Desktop/ChromeDriver/44/chromedriver","newCommandTimeout":1000,"autoLaunch":true,"browserName":"","autoWebview":"true","platformName":"Android"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1545470813476 (14:56:53 GMT+0530 (IST))
[Appium] Creating new AndroidDriver (v1.28.1) session
[Appium] Capabilities:
[Appium] app: '/Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk'
[Appium] appPackage: 'org.ck12.app.practice'
[Appium] recreateChromeDriverSessions: true
[Appium] noReset: true
[Appium] deviceName: 'ZY224QJNRJ'
[Appium] nativeWebTap: true
[Appium] appActivity: 'org.ck12.app.practice.MainActivity'
[Appium] chromedriverExecutable: '/Users/apple/Desktop/ChromeDriver/44/chromedriver'
[Appium] newCommandTimeout: 1000
[Appium] autoLaunch: true
[Appium] browserName: ''
[Appium] autoWebview: 'true'
[Appium] platformName: 'Android'
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: nativeWebTap.
[BaseDriver] Session created with session id: b32bf784-e7a2-43e7-9228-105aa6116bdd
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_144
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/apple/Downloads/android-sdk-macosx-2/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: ZY224QJNRJ
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb
[debug] [ADB] Setting device id to ZY224QJNRJ
[BaseDriver] Using local app '/Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings'
[debug] [ADB] Uninstalling io.appium.settings
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","force-stop","io.appium.settings"]
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","uninstall","io.appium.settings"]
[debug] [ADB] ADB command output: Success
[ADB] io.appium.settings was successfully uninstalled
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is not installed
[debug] [ADB] App '/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk' not installed. Installing
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Current device property 'ro.build.version.sdk': 26
[debug] [ADB] Device API level: 26
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","pm","dump","io.appium.settings"]
[debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_ANIMATION_SCALE,;
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [ADB] Device API level: 26
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Device API level: 26
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","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.
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","getprop","ro.build.version.release"]
[debug] [ADB] Current device property 'ro.build.version.release': 8.0.0
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': moto x4
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': motorola
[AndroidDriver] Remote apk path is /data/local/tmp/b4ed4ae941983821d01dfcdff40a7a95.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ls","/data/local/tmp/b4ed4ae941983821d01dfcdff40a7a95.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for org.ck12.app.practice
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","pm","list","packages","org.ck12.app.practice"]
[debug] [ADB] App is installed
[debug] [AndroidDriver] Extracting strings from apk /Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk null /var/folders/82/zbf243ys647gqv8pf8ywyb7m0000gn/T/org.ck12.app.practice
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 26
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.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/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","push","/var/folders/82/zbf243ys647gqv8pf8ywyb7m0000gn/T/org.ck12.app.practice/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","ZY224QJNRJ","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","org.ck12.app.practice","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 26
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","start","-W","-n","org.ck12.app.practice/org.ck12.app.practice.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[AndroidDriver] Setting auto webview to context 'WEBVIEW_org.ck12.app.practice' with timeout 2000ms
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14142 mapped to pid 14142
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14142' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14142 703 1921740 91860 0 0 S org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_org.ck12.app.practice'
[debug] [AndroidDriver] A port was not given, using random port: 8000
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /Users/apple/Desktop/ChromeDriver/44/chromedriver
[debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/apple/Desktop/ChromeDriver/44/chromedriver.*--port=8000"
[Chromedriver] No old chromedrivers seemed to exist
[debug] [Chromedriver] Cleaning any old adb forwarded port socket connections
[debug] [ADB] List forwarding ports
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","forward","--list"]
[debug] [ADB] Removing forwarded port socket connection: 47019
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","forward","--remove","tcp:47019"]
[Chromedriver] Spawning chromedriver with: /Users/apple/Desktop/ChromeDriver/44/chromedriver --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/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.13.6\"}}}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"org.ck12.app.practice","androidUseRunningApp":true,"androidDeviceSerial":"ZY224QJNRJ"}}}
[debug] [Chromedriver] Webview version: 'Chrome/71.0.3578.99'
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"b1765fb14563511a15094770d6df7106","status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.44.609545 (c2f88692e98ce7233d2df7c724465ecacfe74df5)"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:48666"},"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","rotatable":false,"setWindowRect":false,"takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"ignore","version":"71.0.3578.99","webStorageEnabled":true}}
[debug] [Chromedriver] Changed state to 'online'
[Appium] New AndroidDriver session created successfully, session b32bf784-e7a2-43e7-9228-105aa6116bdd added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1545470835038 (14:57:15 GMT+0530 (IST))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"/Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk","appPackage":"org.ck12.app.practice","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"ZY224QJNRJ","nativeWebTap":true,"appActivity":"org.ck12.app.practice.MainActivity","chromedriverExecutable":"/Users/apple/Desktop/ChromeDriver/44/chromedriver","newCommandTimeout":1000,"autoLaunch":true,"browserName":"","autoWebview":true,"platformName":"Android"},"app":"/Users/apple/Documents/AndroidiOSBuilds/GammaPracticeApp/3.9.0GA/CK12-debug-gamma-3.9.0.254808.apk","appPackage":"org.ck12.app.practice","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"ZY224QJNRJ","nativeWebTap":true,"appActivity":"org.ck12.app.practice.MainActivity","chromedriverExecutable":"/Users/apple/Desktop/Ch...
[HTTP] <-- POST /wd/hub/session 200 21573 ms - 1364
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts {"type":"implicit","ms":80000}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts] to [POST http://127.0.0.1:8000/wd/hub/session/b1765fb14563511a15094770d6df7106/timeouts] with body: {"type":"implicit","ms":80000}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"b1765fb14563511a15094770d6df7106","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId b1765fb14563511a15094770d6df7106 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts 200 42 ms - 76
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "WEBVIEW_org.ck12.app.practice"
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 5 ms - 103
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/contexts {}
[debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14142 mapped to pid 14142
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14142' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14142 703 1945140 105348 0 0 R org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/contexts 200 424 ms - 118
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {"name":"NATIVE_APP"}
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14142 mapped to pid 14142
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14142' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14142 703 1945140 105348 0 0 S org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] recreateChromeDriverSessions set to true; killing existing chromedrivers
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_org.ck12.app.practice
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/b1765fb14563511a15094770d6df7106] with no body
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 346 ms - 76
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"b1765fb14563511a15094770d6df7106\",\"status\":0,\"value\":null}"
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 5 ms - 84
[debug] [Chromedriver] Changed state to 'stopped'
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element {"using":"id","value":"com.android.packageinstaller:id/permission_allow_button"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android.packageinstaller:id/permission_allow_button","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[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] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.android.packageinstaller:id/permission_allow_button' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button]
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element 200 51 ms - 87
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/1/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["1","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"1"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"1"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/1/displayed 200 69 ms - 76
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element {"using":"id","value":"com.android.packageinstaller:id/permission_allow_button"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android.packageinstaller:id/permission_allow_button","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[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] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.android.packageinstaller:id/permission_allow_button' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element 200 23 ms - 87
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/2/click {"id":"2"}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["2","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/2/click 200 3134 ms - 76
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 3 ms - 84
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/contexts {}
[debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14142 mapped to pid 14142
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14142' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14142 703 1953212 106608 0 0 S org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/contexts 200 1035 ms - 118
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {"name":"WEBVIEW_org.ck12.app.practice"}
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["WEBVIEW_org.ck12.app.practice","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14142 mapped to pid 14142
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14142' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14142 703 1953212 106616 0 0 R org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_org.ck12.app.practice'
[debug] [AndroidDriver] A port was not given, using random port: 8000
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /Users/apple/Desktop/ChromeDriver/44/chromedriver
[debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/apple/Desktop/ChromeDriver/44/chromedriver.*--port=8000"
[Chromedriver] No old chromedrivers seemed to exist
[debug] [Chromedriver] Cleaning any old adb forwarded port socket connections
[debug] [ADB] List forwarding ports
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","forward","--list"]
[debug] [ADB] Removing forwarded port socket connection: 48666
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","forward","--remove","tcp:48666"]
[Chromedriver] Spawning chromedriver with: /Users/apple/Desktop/ChromeDriver/44/chromedriver --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/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.13.6\"}}}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"org.ck12.app.practice","androidUseRunningApp":true,"androidDeviceSerial":"ZY224QJNRJ"}}}
[debug] [Chromedriver] Webview version: 'Chrome/71.0.3578.99'
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.44.609545 (c2f88692e98ce7233d2df7c724465ecacfe74df5)"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:48747"},"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","rotatable":false,"setWindowRect":false,"takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"ignore","version":"71.0.3578.99","webStorageEnabled":true}}
[debug] [Chromedriver] Changed state to 'online'
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 2309 ms - 76
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "WEBVIEW_org.ck12.app.practice"
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 2 ms - 103
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element {"using":"css selector","value":"a.sign-btn"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element] to [POST http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/element] with body: {"using":"css selector","value":"a.sign-btn"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":0,"value":{"ELEMENT":"0.6931462917535967-1"}}
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element 200 313 ms - 106
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/0.6931462917535967-1/displayed {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/0.6931462917535967-1/displayed] to [GET http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/element/0.6931462917535967-1/displayed] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7b56eb73711cd451459d2738529c58e4\",\"status\":0,\"value\":true}"
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/0.6931462917535967-1/displayed 200 72 ms - 76
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element {"using":"css selector","value":"a.sign-btn"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element] to [POST http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/element] with body: {"using":"css selector","value":"a.sign-btn"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":0,"value":{"ELEMENT":"0.6931462917535967-1"}}
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element 200 44 ms - 106
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/0.6931462917535967-1/click {"id":"0.6931462917535967-1"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/0.6931462917535967-1/click] to [POST http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/element/0.6931462917535967-1/click] with body: {"id":"0.6931462917535967-1"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/element/0.6931462917535967-1/click 200 344 ms - 76
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/appium/device/start_activity {"appPackage":"com.android.chrome","appActivity":"org.chromium.chrome.browser.customtabs.CustomTabActivity","appWaitPackage":"","appWaitActivity":"","dontStopAppOnReset":false}
[debug] [MJSONWP] Calling AppiumDriver.startActivity() with args: ["com.android.chrome","org.chromium.chrome.browser.customtabs.CustomTabActivity","","",null,null,null,null,false,null,null,"b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Starting package 'com.android.chrome' and activity 'org.chromium.chrome.browser.customtabs.CustomTabActivity'
[debug] [ADB] Device API level: 26
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","start","-W","-n","com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity","-S"]
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","start","-W","-n","com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity","-S"]
[ADB] Error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb -P 5037 -s ZY224QJNRJ shell am start -W -n com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity -S' exited with code 255'; Stderr: 'Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity } from null (pid=14572, uid=2000) not exported from uid 10108
java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity } from null (pid=14572, uid=2000) not exported from uid 10108
at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPermission(ActivityStackSupervisor.java:1682)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:442)
at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:276)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:835)
at com.android.server.am.ActivityManagerService.startActivityAndWait(ActivityManagerService.java:4740)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:408)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:142)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:15244)
at android.os.Binder.shellCommand(Binder.java:573)
at android.os.Binder.onTransact(Binder.java:473)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4339)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3054)
at android.os.Binder.execTransact(Binder.java:674)'; Code: '255'
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13)
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:101:9)
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 throw] (/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>
Error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb -P 5037 -s ZY224QJNRJ shell am start -W -n com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity -S' exited with code 255'; Stderr: 'Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity } from null (pid=14572, uid=2000) not exported from uid 10108
java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity } from null (pid=14572, uid=2000) not exported from uid 10108
at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPermission(ActivityStackSupervisor.java:1682)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:442)
at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:276)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:835)
at com.android.server.am.ActivityManagerService.startActivityAndWait(ActivityManagerService.java:4740)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:408)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:142)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:15244)
at android.os.Binder.shellCommand(Binder.java:573)
at android.os.Binder.onTransact(Binder.java:473)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4339)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3054)
at android.os.Binder.execTransact(Binder.java:674)'; Code: '255'
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13)
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:101:9)
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 throw] (/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>
[MJSONWP] Encountered internal error running command: Error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb -P 5037 -s ZY224QJNRJ shell am start -W -n com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity -S' exited with code 255'; Stderr: 'Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity } from null (pid=14572, uid=2000) not exported from uid 10108
java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity } from null (pid=14572, uid=2000) not exported from uid 10108
at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPermission(ActivityStackSupervisor.java:1682)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:442)
at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:276)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:835)
at com.android.server.am.ActivityManagerService.startActivityAndWait(ActivityManagerService.java:4740)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:408)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:142)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:15244)
at android.os.Binder.shellCommand(Binder.java:573)
at android.os.Binder.onTransact(Binder.java:473)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4339)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3054)
at android.os.Binder.execTransact(Binder.java:674)'; Code: '255'
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13)
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:101:9)
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 throw] (/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>
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/appium/device/start_activity 500 869 ms - 2141
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/contexts {}
[debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14591 mapped to pid 14591
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14591' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14591 703 1938576 100880 0 0 S org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/contexts 200 334 ms - 118
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {"name":"WEBVIEW_org.ck12.app.practice"}
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["WEBVIEW_org.ck12.app.practice","b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_14591 mapped to pid 14591
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[debug] [AndroidDriver] Parsed pid: '14591' pkg: 'org.ck12.app.practice' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
[debug] [AndroidDriver] u0_a222 14591 703 1941852 103592 0 0 S org.ck12.app.practice
[debug] [AndroidDriver] Returning process name: 'org.ck12.app.practice'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_org.ck12.app.practice"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_org.ck12.app.practice"]
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 278 ms - 76
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts {"type":"implicit","ms":0}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts] to [POST http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/timeouts] with body: {"type":"implicit","ms":0}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts 200 8 ms - 76
[HTTP] --> GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "WEBVIEW_org.ck12.app.practice"
[HTTP] <-- GET /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/context 200 2 ms - 103
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/elements {"using":"css selector","value":"span.join-btn-cont"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/elements] to [POST http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/elements] with body: {"using":"css selector","value":"span.join-btn-cont"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=71.0.3578.99)\n (Driver info: chromedriver=2.44.609545 (c2f88692e98ce7233d2df7c724465ecacfe74df5),platform=Mac OS X 10.13.6 x86_64)"}}
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/elements 200 10 ms - 266
[HTTP] --> POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts {"type":"implicit","ms":50000}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts] to [POST http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4/timeouts] with body: {"type":"implicit","ms":50000}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7b56eb73711cd451459d2738529c58e4","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 7b56eb73711cd451459d2738529c58e4 with b32bf784-e7a2-43e7-9228-105aa6116bdd
[HTTP] <-- POST /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd/timeouts 200 6 ms - 76
[HTTP] --> DELETE /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["b32bf784-e7a2-43e7-9228-105aa6116bdd"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1545470896304 (14:58:16 GMT+0530 (IST))
[Appium] Removing session b32bf784-e7a2-43e7-9228-105aa6116bdd from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_org.ck12.app.practice
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/7b56eb73711cd451459d2738529c58e4] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7b56eb73711cd451459d2738529c58e4\",\"status\":0,\"value\":null}"
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","force-stop","org.ck12.app.practice"]
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","input","keyevent",3]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[debug] [UiAutomator] UiAutomator shut down normally
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/apple/Downloads/android-sdk-macosx-2/platform-tools/adb' with args: ["-P",5037,"-s","ZY224QJNRJ","shell","am","force-stop","io.appium.unlock"]
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1545470897514 (14:58:17 GMT+0530 (IST))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/b32bf784-e7a2-43e7-9228-105aa6116bdd 200 1212 ms - 76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment