Skip to content

Instantly share code, notes, and snippets.

@wswebcreation
Last active November 15, 2020 14:10
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 wswebcreation/45c6944315921c234e433df3cd0553cd to your computer and use it in GitHub Desktop.
Save wswebcreation/45c6944315921c234e433df3cd0553cd to your computer and use it in GitHub Desktop.
Appium Android Hybrid App not getting active webview
[Appium] Welcome to Appium v1.18.3
[Appium] Non-default server args:
[Appium] basePath: /
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /session
[HTTP] {"capabilities":{"alwaysMatch":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"firstMatch":[{}]},"desiredCapabilities":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},null,{"alwaysMatch":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1605432578018 (10:29:38 GMT+0100 (Central European Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] automationName
[BaseDriver] deviceName
[BaseDriver] platformVersion
[BaseDriver] orientation
[BaseDriver] app
[BaseDriver] appWaitActivity
[BaseDriver] noReset
[BaseDriver] autoGrantPermissions
[BaseDriver] newCommandTimeout
[BaseDriver] language
[BaseDriver] locale
[Appium] Appium v1.18.3 creating new AndroidUiautomator2Driver (v1.56.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:automationName": "UiAutomator2",
[debug] [BaseDriver] "appium:deviceName": "Pixel_3_10.0",
[debug] [BaseDriver] "platformName": "Android",
[debug] [BaseDriver] "appium:platformVersion": "10.0",
[debug] [BaseDriver] "appium:orientation": "PORTRAIT",
[debug] [BaseDriver] "appium:app": "/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk",
[debug] [BaseDriver] "appium:appWaitActivity": "com.saucelabshybridapp.MainActivity",
[debug] [BaseDriver] "appium:noReset": true,
[debug] [BaseDriver] "appium:autoGrantPermissions": true,
[debug] [BaseDriver] "appium:newCommandTimeout": 240,
[debug] [BaseDriver] "appium:language": "en",
[debug] [BaseDriver] "appium:locale": "en"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: cec661ab-8945-46cc-b51b-e9afbe5237b4
[BaseDriver] Using local app '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[ADB] Found 11 'build-tools' folders under '/Users/wimselles/Library/Android/sdk' (newest first):
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.1
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.0-rc4
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.0-rc2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.1
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.0
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.0-rc3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/28.0.3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/27.0.3
[ADB] Using 'adb' from '/Users/wimselles/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[AndroidDriver] Looking for a device with Android '10.0.0'
[debug] [ADB] Setting device id to emulator-5554
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[AndroidDriver] Using device: emulator-5554
[ADB] Using 'adb' from '/Users/wimselles/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[debug] [ADB] Setting device id to emulator-5554
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 29
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[debug] [ADB] Device API level: 29
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Package name: 'com.saucelabshybridapp'
[ADB] Main activity name: 'com.saucelabshybridapp.SplashActivity'
[debug] [AndroidDriver] Parsed package and activity are: com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.0' >= '3.2.0')
[debug] [ADB] There is no need to install/upgrade '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f io\\.appium\\.settings'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': en-EN
[debug] [ADB] Current locale: 'en-EN'; requested locale: 'en-EN'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': en-EN
[debug] [ADB] Requested locale is equal to current locale: 'en-en'
[debug] [Logcat] Starting logs capture with command: /Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp\:8200 tcp\:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.12.2' >= '4.12.2')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk
[ADB] Using 'apksigner.jar' from '/Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar'
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [ADB] Checking app cert for /Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: CN=Android Debug, OU=Android, O=Unknown, L=Unknown, ST=Unknown, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: fac61745dc0903786fb9ede62a962b399f7348f0bb6f899b8332667591033b9c
[debug] [ADB] Signer #1 certificate SHA-1 digest: 5e8f16062ea3cd2c4a0d547876baa6f38cabf625
[debug] [ADB] Signer #1 certificate MD5 digest: 20f46148b72d8e5e5ca23d37a4f41490
[debug] [ADB]
[debug] [ADB] '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk' is signed with a non-default certificate
[debug] [ADB] Getting install status for com.saucelabshybridapp
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.saucelabshybridapp'
[debug] [ADB] 'com.saucelabshybridapp' is installed
[debug] [ADB] Getting package info for 'com.saucelabshybridapp'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.saucelabshybridapp'
[debug] [ADB] The version name of the installed 'com.saucelabshybridapp' is greater or equal to the application version name ('1.0.0' >= '1.0.0')
[debug] [ADB] There is no need to install/upgrade '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk'
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.12.2
[UiAutomator2] Using UIAutomator2 server from '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk' and test from '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 3161ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en","deviceUDI...
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"new...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":{"androidId":"7ef4f20b657dd49c","apiVersion":"29","bluetooth":null,"brand":"google","carrierName":"Android","displayDensity":440,"locale":"en_EN","manufacturer":"Google","model":"Android SDK built for x86","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"10","realDisplaySize":"1080x2160","timeZone":"Europe/Amsterdam"}}
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] Starting 'com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity and waiting for 'com.saucelabshybridapp/com.saucelabshybridapp.MainActivity'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.saucelabshybridapp' and activity: 'com.saucelabshybridapp.MainActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.saucelabshybridapp.MainActivity', 'com.saucelabshybridapp.com.saucelabshybridapp.MainActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] [ADB] Found package: 'com.saucelabshybridapp' and fully qualified activity name : 'com.saucelabshybridapp.MainActivity'
[debug] [UiAutomator2] Setting initial orientation to 'PORTRAIT'
[debug] [WD Proxy] Matched '/orientation' to command name 'setOrientation'
[debug] [WD Proxy] Proxying [POST /orientation] to [POST http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":"PORTRAIT"}
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/appium/device/pixel_ratio] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":2.75}
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/appium/device/system_bars] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":{"statusBar":66}}
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":{"height":2028,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session cec661ab-8945-46cc-b51b-e9afbe5237b4 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1605432587105 (10:29:47 GMT+0100 (Central European Standard Time))
[debug] [W3C (cec661ab)] Cached the protocol value 'W3C' for the new session cec661ab-8945-46cc-b51b-e9afbe5237b4
[debug] [W3C (cec661ab)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en","deviceUDID":"emulator-5554...
[HTTP] <-- POST /session 200 9097 ms - 1371
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.getCurrentContext() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [W3C (cec661ab)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 5 ms - 22
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/contexts
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.getContexts() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (cec661ab)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/contexts 200 54 ms - 57
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] A port was not given, using random free port: 8000
[debug] [AndroidDriver] Automated Chromedriver download is disabled. Use 'chromedriver_autodownload' server feature to enable it
[debug] [AndroidDriver] Precalculated Chromedriver capabilities: {
[debug] [AndroidDriver] "androidPackage": "com.saucelabshybridapp",
[debug] [AndroidDriver] "androidUseRunningApp": true,
[debug] [AndroidDriver] "androidDeviceSerial": "emulator-5554"
[debug] [AndroidDriver] }
[debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.saucelabshybridapp'
[debug] [Chromedriver] Changed state to 'starting'
[debug] [Chromedriver] Using the static Chromedriver->Chrome mapping
[debug] [Chromedriver] The most recent known Chrome version: 84.0.4147
[debug] [Chromedriver] Found 2 executables in '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac'
[debug] [Chromedriver] The following Chromedriver executables were found:
[debug] [Chromedriver] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver' (version '84.0.4147.30', minimum Chrome version '84.0.4147')
[debug] [Chromedriver] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6' (version '74.0.3729.6', minimum Chrome version '74.0.3729')
[debug] [ADB] Getting package info for 'com.google.android.webview'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.google.android.webview'
[debug] [Chromedriver] Found Chrome bundle 'com.google.android.webview' version '74.0.3729'
[debug] [Chromedriver] Found 1 executable capable of automating Chrome '74.0.3729'.
[debug] [Chromedriver] Choosing the most recent, '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6'.
[debug] [Chromedriver] If a specific version is required, specify it with the `chromedriverExecutable`desired capability.
[Chromedriver] Set chromedriver binary as: /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6
[debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6.*--port=8000"
[Chromedriver] No old chromedrivers seem to exist
[debug] [Chromedriver] Cleaning this device's adb forwarded port socket connections: emulator-5554
[debug] [ADB] List forwarding ports
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --list'
[debug] [ADB] Removing forwarded port socket connection: 51783
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp\:51783'
[Chromedriver] Spawning chromedriver with: /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6 --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug] [Chromedriver] Chromedriver version: '74.0.3729.6'
[debug] [Chromedriver] Chromedriver v. 74.0.3729.6 does not fully support W3C protocol. Defaulting to MJSONWP
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8000
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"","status":0,"value":{"build":{"version":"74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.15.7"},"ready":true}}
[Chromedriver] Starting MJSONWP Chromedriver session with capabilities: {
[Chromedriver] "desiredCapabilities": {
[Chromedriver] "chromeOptions": {
[Chromedriver] "androidPackage": "com.saucelabshybridapp",
[Chromedriver] "androidUseRunningApp": true,
[Chromedriver] "androidDeviceSerial": "emulator-5554"
[Chromedriver] },
[Chromedriver] "loggingPrefs": {
[Chromedriver] "browser": "ALL"
[Chromedriver] }
[Chromedriver] }
[Chromedriver] }
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.saucelabshybridapp","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"},"loggingPrefs":{"browser":"ALL"}}}
[debug] [Chromedriver] Webview version: 'Chrome/74.0.3729.185'
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:52755"},"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","proxy":{},"rotatable":false,"setWindowRect":false,"strictFileInteractability":false,"takesHeapSnapshot":true,"takesScreenshot":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unexpectedAlertBehaviour":"ignore","version":"74.0.3729.185","webStorageEnabled":true}}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [Chromedriver] Changed state to 'online'
[debug] [W3C (cec661ab)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 667 ms - 14
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title
[HTTP] {}
[W3C (cec661ab)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId 62c18d3a6abc1bb63cfa7e8c98d8027d with cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title 200 43 ms - 72
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url
[HTTP] {}
[W3C (cec661ab)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId 62c18d3a6abc1bb63cfa7e8c98d8027d with cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url 200 13 ms - 89
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (cec661ab)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 49 ms - 14
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element
[HTTP] {"using":"accessibility id","value":"test-sauce-labs"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.findElement() with args: ["accessibility id","test-sauce-labs","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[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] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/element] with body: {"strategy":"accessibility id","selector":"test-sauce-labs","context":"","multiple":false}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":{"ELEMENT":"903ef78e-1918-47f9-9f5d-ac97603af09d","element-6066-11e4-a52e-4f735466cecf":"903ef78e-1918-47f9-9f5d-ac97603af09d"}}
[debug] [W3C (cec661ab)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"903ef78e-1918-47f9-9f5d-ac97603af09d","ELEMENT":"903ef78e-1918-47f9-9f5d-ac97603af09d"}
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element 200 52 ms - 137
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element/903ef78e-1918-47f9-9f5d-ac97603af09d/click
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.click() with args: ["903ef78e-1918-47f9-9f5d-ac97603af09d","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [WD Proxy] Matched '/element/903ef78e-1918-47f9-9f5d-ac97603af09d/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/903ef78e-1918-47f9-9f5d-ac97603af09d/click] to [POST http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/element/903ef78e-1918-47f9-9f5d-ac97603af09d/click] with body: {"element":"903ef78e-1918-47f9-9f5d-ac97603af09d"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":null}
[debug] [W3C (cec661ab)] Responding to client with driver.click() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element/903ef78e-1918-47f9-9f5d-ac97603af09d/click 200 510 ms - 14
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.getCurrentContext() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [W3C (cec661ab)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 1 ms - 22
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/contexts
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.getContexts() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (cec661ab)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/contexts 200 105 ms - 57
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] Found existing Chromedriver for context 'WEBVIEW_com.saucelabshybridapp'. Using it.
[debug] [WD Proxy] Matched '/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /url] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"https://www.saucedemo.com/"}
[debug] [W3C (cec661ab)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 315 ms - 14
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title
[HTTP] {}
[W3C (cec661ab)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId 62c18d3a6abc1bb63cfa7e8c98d8027d with cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title 200 54 ms - 72
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url
[HTTP] {}
[W3C (cec661ab)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId 62c18d3a6abc1bb63cfa7e8c98d8027d with cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url 200 127 ms - 89
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (cec661ab)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 154 ms - 14
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element
[HTTP] {"using":"accessibility id","value":"test-open-source"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.findElement() with args: ["accessibility id","test-open-source","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[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] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/element] with body: {"strategy":"accessibility id","selector":"test-open-source","context":"","multiple":false}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":{"ELEMENT":"902ffdbf-5487-4ade-bc63-fa3341e6f242","element-6066-11e4-a52e-4f735466cecf":"902ffdbf-5487-4ade-bc63-fa3341e6f242"}}
[debug] [W3C (cec661ab)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"902ffdbf-5487-4ade-bc63-fa3341e6f242","ELEMENT":"902ffdbf-5487-4ade-bc63-fa3341e6f242"}
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element 200 444 ms - 137
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element/902ffdbf-5487-4ade-bc63-fa3341e6f242/click
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.click() with args: ["902ffdbf-5487-4ade-bc63-fa3341e6f242","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [WD Proxy] Matched '/element/902ffdbf-5487-4ade-bc63-fa3341e6f242/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/902ffdbf-5487-4ade-bc63-fa3341e6f242/click] to [POST http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4/element/902ffdbf-5487-4ade-bc63-fa3341e6f242/click] with body: {"element":"902ffdbf-5487-4ade-bc63-fa3341e6f242"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":null}
[debug] [W3C (cec661ab)] Responding to client with driver.click() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/element/902ffdbf-5487-4ade-bc63-fa3341e6f242/click 200 7144 ms - 14
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.getCurrentContext() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [W3C (cec661ab)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 1 ms - 22
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/contexts
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.getContexts() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (cec661ab)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/contexts 200 273 ms - 57
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] Found existing Chromedriver for context 'WEBVIEW_com.saucelabshybridapp'. Using it.
[debug] [WD Proxy] Matched '/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /url] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"https://www.saucedemo.com/"}
[debug] [W3C (cec661ab)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 350 ms - 14
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title
[HTTP] {}
[W3C (cec661ab)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId 62c18d3a6abc1bb63cfa7e8c98d8027d with cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/title 200 86 ms - 72
[HTTP]
[HTTP] --> GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url
[HTTP] {}
[W3C (cec661ab)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url] to [GET http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId 62c18d3a6abc1bb63cfa7e8c98d8027d with cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] <-- GET /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/url 200 106 ms - 89
[HTTP]
[HTTP] --> POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (cec661ab)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_19605"]
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] WEBVIEW_19605 mapped to pid 19605
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_19605'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (cec661ab)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/cec661ab-8945-46cc-b51b-e9afbe5237b4/context 200 247 ms - 14
[HTTP]
[HTTP] --> DELETE /session/cec661ab-8945-46cc-b51b-e9afbe5237b4
[HTTP] {}
[debug] [W3C (cec661ab)] Calling AppiumDriver.deleteSession() with args: ["cec661ab-8945-46cc-b51b-e9afbe5237b4"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1605432607026 (10:30:07 GMT+0100 (Central European Standard Time))
[Appium] Removing session cec661ab-8945-46cc-b51b-e9afbe5237b4 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.saucelabshybridapp
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/62c18d3a6abc1bb63cfa7e8c98d8027d] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"62c18d3a6abc1bb63cfa7e8c98d8027d","status":0,"value":null}
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"fdebdf7f-5b39-4e91-bc0c-78ceef7d60e4","value":null}
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.saucelabshybridapp'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp\:8200'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[debug] [Instrumentation] .
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1605432609810 (10:30:09 GMT+0100 (Central European Standard Time))
[debug] [W3C (cec661ab)] Received response: null
[debug] [W3C (cec661ab)] But deleting session, so not returning
[debug] [W3C (cec661ab)] Responding to client with driver.deleteSession() result: null
[debug] [W3C (cec661ab)] Destroying socket connection
[HTTP] <-- DELETE /session/cec661ab-8945-46cc-b51b-e9afbe5237b4 200 2787 ms - 14
[HTTP]
[debug] [Instrumentation] Time: 26.103
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
[Appium] Welcome to Appium v1.19.0-beta.0
[Appium] Non-default server args:
[Appium] basePath: /
[Appium] relaxedSecurityEnabled: true
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /session
[HTTP] {"capabilities":{"alwaysMatch":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"firstMatch":[{}]},"desiredCapabilities":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},null,{"alwaysMatch":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1605448987046 (15:03:07 GMT+0100 (Central European Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] automationName
[BaseDriver] deviceName
[BaseDriver] platformVersion
[BaseDriver] orientation
[BaseDriver] app
[BaseDriver] appWaitActivity
[BaseDriver] noReset
[BaseDriver] autoGrantPermissions
[BaseDriver] newCommandTimeout
[BaseDriver] language
[BaseDriver] locale
[Appium] Appium v1.19.0-beta.0 creating new AndroidUiautomator2Driver (v1.60.0) session
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:automationName": "UiAutomator2",
[debug] [BaseDriver] "appium:deviceName": "Pixel_3_10.0",
[debug] [BaseDriver] "platformName": "Android",
[debug] [BaseDriver] "appium:platformVersion": "10.0",
[debug] [BaseDriver] "appium:orientation": "PORTRAIT",
[debug] [BaseDriver] "appium:app": "/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk",
[debug] [BaseDriver] "appium:appWaitActivity": "com.saucelabshybridapp.MainActivity",
[debug] [BaseDriver] "appium:noReset": true,
[debug] [BaseDriver] "appium:autoGrantPermissions": true,
[debug] [BaseDriver] "appium:newCommandTimeout": 240,
[debug] [BaseDriver] "appium:language": "en",
[debug] [BaseDriver] "appium:locale": "en"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: 87c1fed5-2474-4359-a047-fce6fb310fb3
[BaseDriver] Using local app '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[ADB] Found 11 'build-tools' folders under '/Users/wimselles/Library/Android/sdk' (newest first):
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.1
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.0-rc4
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.0-rc2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.1
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.0
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.0-rc3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/28.0.3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/27.0.3
[ADB] Using 'adb' from '/Users/wimselles/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[AndroidDriver] Looking for a device with Android '10.0.0'
[debug] [ADB] Setting device id to emulator-5554
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[AndroidDriver] Using device: emulator-5554
[ADB] Using 'adb' from '/Users/wimselles/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[debug] [ADB] Setting device id to emulator-5554
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 29
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[debug] [ADB] Device API level: 29
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Package name: 'com.saucelabshybridapp'
[ADB] Main activity name: 'com.saucelabshybridapp.SplashActivity'
[debug] [AndroidDriver] Parsed package and activity are: com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.1' >= '3.2.1')
[debug] [ADB] There is no need to install/upgrade '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': en-EN
[debug] [ADB] Current locale: 'en-EN'; requested locale: 'en-EN'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': en-EN
[debug] [ADB] Requested locale is equal to current locale: 'en-en'
[debug] [Logcat] Starting logs capture with command: /Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.16.0' >= '4.16.0')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.16.0.apk
[ADB] Using 'apksigner.jar' from '/Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar'
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.16.0.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.16.0.apk'
[ADB] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.16.0.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[debug] [ADB] Checking app cert for /Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] sha256 hash did match for 'Android.SauceLabs.Hybrid.app.1.0.0.apk'
[ADB] '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk' is signed with the default certificate
[debug] [ADB] Getting install status for com.saucelabshybridapp
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.saucelabshybridapp'
[debug] [ADB] 'com.saucelabshybridapp' is installed
[debug] [ADB] Getting package info for 'com.saucelabshybridapp'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.saucelabshybridapp'
[debug] [ADB] The version name of the installed 'com.saucelabshybridapp' is greater or equal to the application version name ('1.0.0' >= '1.0.0')
[debug] [ADB] There is no need to install/upgrade '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk'
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.16.0
[UiAutomator2] Using UIAutomator2 server from '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.16.0.apk' and test from '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 2100ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en","deviceUDI...
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"new...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":{"androidId":"7ef4f20b657dd49c","apiVersion":"29","bluetooth":null,"brand":"google","carrierName":"Android","displayDensity":440,"locale":"en_EN","manufacturer":"Google","model":"Android SDK built for x86","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"10","realDisplaySize":"1080x2160","timeZone":"Europe/Amsterdam"}}
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] Starting 'com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity and waiting for 'com.saucelabshybridapp/com.saucelabshybridapp.MainActivity'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.saucelabshybridapp' and activity: 'com.saucelabshybridapp.MainActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.saucelabshybridapp.MainActivity', 'com.saucelabshybridapp.com.saucelabshybridapp.MainActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] [ADB] Found package: 'com.saucelabshybridapp' and fully qualified activity name : 'com.saucelabshybridapp.MainActivity'
[debug] [UiAutomator2] Setting initial orientation to 'PORTRAIT'
[debug] [WD Proxy] Matched '/orientation' to command name 'setOrientation'
[debug] [WD Proxy] Proxying [POST /orientation] to [POST http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":"PORTRAIT"}
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/appium/device/pixel_ratio] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":2.75}
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/appium/device/system_bars] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":{"statusBar":66}}
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":{"height":2028,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session 87c1fed5-2474-4359-a047-fce6fb310fb3 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1605448994855 (15:03:14 GMT+0100 (Central European Standard Time))
[debug] [W3C (87c1fed5)] Cached the protocol value 'W3C' for the new session 87c1fed5-2474-4359-a047-fce6fb310fb3
[debug] [W3C (87c1fed5)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en","deviceUDID":"emulator-5554...
[HTTP] <-- POST /session 200 7814 ms - 1371
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.getCurrentContext() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [W3C (87c1fed5)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 5 ms - 22
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/contexts
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.getContexts() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps --help'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (87c1fed5)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/contexts 200 98 ms - 57
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] A port was not given, using random free port: 8000
[debug] [AndroidDriver] Precalculated Chromedriver capabilities: {
[debug] [AndroidDriver] "androidPackage": "com.saucelabshybridapp",
[debug] [AndroidDriver] "androidUseRunningApp": true,
[debug] [AndroidDriver] "androidDeviceSerial": "emulator-5554"
[debug] [AndroidDriver] }
[debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.saucelabshybridapp'
[debug] [Chromedriver] Changed state to 'starting'
[debug] [Chromedriver] Using the static Chromedriver->Chrome mapping
[debug] [Chromedriver] The most recent known Chrome version: 86.0.4240
[debug] [Chromedriver] Found 2 executables in '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac'
[debug] [Chromedriver] The following Chromedriver executables were found:
[debug] [Chromedriver] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver' (version '86.0.4240.22', minimum Chrome version '86.0.4240')
[debug] [Chromedriver] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6' (version '74.0.3729.6', minimum Chrome version '74.0.3729')
[debug] [ADB] Getting package info for 'com.google.android.webview'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.google.android.webview'
[debug] [Chromedriver] Found Chrome bundle 'com.google.android.webview' version '74.0.3729'
[debug] [Chromedriver] Found 1 executable capable of automating Chrome '74.0.3729'.
[debug] [Chromedriver] Choosing the most recent, '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6'.
[debug] [Chromedriver] If a specific version is required, specify it with the `chromedriverExecutable`desired capability.
[Chromedriver] Set chromedriver binary as: /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6
[debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6.*--port=8000"
[Chromedriver] No old chromedrivers seem to exist
[debug] [Chromedriver] Cleaning this device's adb forwarded port socket connections: emulator-5554
[debug] [ADB] List forwarding ports
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --list'
[debug] [ADB] Removing forwarded port socket connection: 64711
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:64711'
[Chromedriver] Spawning chromedriver with: /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6 --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug] [Chromedriver] Chromedriver version: '74.0.3729.6'
[debug] [Chromedriver] Chromedriver v. 74.0.3729.6 does not fully support W3C protocol. Defaulting to MJSONWP
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8000
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"","status":0,"value":{"build":{"version":"74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.15.7"},"ready":true}}
[Chromedriver] Starting MJSONWP Chromedriver session with capabilities: {
[Chromedriver] "desiredCapabilities": {
[Chromedriver] "chromeOptions": {
[Chromedriver] "androidPackage": "com.saucelabshybridapp",
[Chromedriver] "androidUseRunningApp": true,
[Chromedriver] "androidDeviceSerial": "emulator-5554"
[Chromedriver] },
[Chromedriver] "loggingPrefs": {
[Chromedriver] "browser": "ALL"
[Chromedriver] }
[Chromedriver] }
[Chromedriver] }
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.saucelabshybridapp","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"},"loggingPrefs":{"browser":"ALL"}}}
[debug] [Chromedriver] Webview version: 'Chrome/74.0.3729.185'
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:64988"},"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","proxy":{},"rotatable":false,"setWindowRect":false,"strictFileInteractability":false,"takesHeapSnapshot":true,"takesScreenshot":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unexpectedAlertBehaviour":"ignore","version":"74.0.3729.185","webStorageEnabled":true}}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [Chromedriver] Changed state to 'online'
[debug] [W3C (87c1fed5)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 592 ms - 14
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title
[HTTP] {}
[W3C (87c1fed5)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/87c1fed5-2474-4359-a047-fce6fb310fb3/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId a07b379ed2eee7ffe36044df69f550a9 with 87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title 200 36 ms - 72
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url
[HTTP] {}
[W3C (87c1fed5)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/87c1fed5-2474-4359-a047-fce6fb310fb3/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId a07b379ed2eee7ffe36044df69f550a9 with 87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url 200 16 ms - 89
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (87c1fed5)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 106 ms - 14
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element
[HTTP] {"using":"accessibility id","value":"test-sauce-labs"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.findElement() with args: ["accessibility id","test-sauce-labs","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/element] with body: {"strategy":"accessibility id","selector":"test-sauce-labs","context":"","multiple":false}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":{"ELEMENT":"fbea064d-c017-4f67-87a3-3c8ca52de566","element-6066-11e4-a52e-4f735466cecf":"fbea064d-c017-4f67-87a3-3c8ca52de566"}}
[debug] [W3C (87c1fed5)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"fbea064d-c017-4f67-87a3-3c8ca52de566","ELEMENT":"fbea064d-c017-4f67-87a3-3c8ca52de566"}
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element 200 67 ms - 137
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element/fbea064d-c017-4f67-87a3-3c8ca52de566/click
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.click() with args: ["fbea064d-c017-4f67-87a3-3c8ca52de566","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [WD Proxy] Matched '/element/fbea064d-c017-4f67-87a3-3c8ca52de566/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/fbea064d-c017-4f67-87a3-3c8ca52de566/click] to [POST http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/element/fbea064d-c017-4f67-87a3-3c8ca52de566/click] with body: {"element":"fbea064d-c017-4f67-87a3-3c8ca52de566"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":null}
[debug] [W3C (87c1fed5)] Responding to client with driver.click() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element/fbea064d-c017-4f67-87a3-3c8ca52de566/click 200 519 ms - 14
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.getCurrentContext() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [W3C (87c1fed5)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 1 ms - 22
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/contexts
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.getContexts() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (87c1fed5)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/contexts 200 154 ms - 57
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] Found existing Chromedriver for context 'WEBVIEW_com.saucelabshybridapp'. Using it.
[debug] [WD Proxy] Matched '/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /url] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"https://www.saucedemo.com/"}
[debug] [W3C (87c1fed5)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 317 ms - 14
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title
[HTTP] {}
[W3C (87c1fed5)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/87c1fed5-2474-4359-a047-fce6fb310fb3/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId a07b379ed2eee7ffe36044df69f550a9 with 87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title 200 26 ms - 72
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url
[HTTP] {}
[W3C (87c1fed5)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/87c1fed5-2474-4359-a047-fce6fb310fb3/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId a07b379ed2eee7ffe36044df69f550a9 with 87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url 200 18 ms - 89
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (87c1fed5)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 126 ms - 14
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element
[HTTP] {"using":"accessibility id","value":"test-open-source"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.findElement() with args: ["accessibility id","test-open-source","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/element] with body: {"strategy":"accessibility id","selector":"test-open-source","context":"","multiple":false}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":{"ELEMENT":"cbbcbc02-e9d3-494c-adde-9ab417a68295","element-6066-11e4-a52e-4f735466cecf":"cbbcbc02-e9d3-494c-adde-9ab417a68295"}}
[debug] [W3C (87c1fed5)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"cbbcbc02-e9d3-494c-adde-9ab417a68295","ELEMENT":"cbbcbc02-e9d3-494c-adde-9ab417a68295"}
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element 200 699 ms - 137
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element/cbbcbc02-e9d3-494c-adde-9ab417a68295/click
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.click() with args: ["cbbcbc02-e9d3-494c-adde-9ab417a68295","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [WD Proxy] Matched '/element/cbbcbc02-e9d3-494c-adde-9ab417a68295/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/cbbcbc02-e9d3-494c-adde-9ab417a68295/click] to [POST http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3/element/cbbcbc02-e9d3-494c-adde-9ab417a68295/click] with body: {"element":"cbbcbc02-e9d3-494c-adde-9ab417a68295"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":null}
[debug] [W3C (87c1fed5)] Responding to client with driver.click() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/element/cbbcbc02-e9d3-494c-adde-9ab417a68295/click 200 22095 ms - 14
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.getCurrentContext() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [W3C (87c1fed5)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 2 ms - 22
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/contexts
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.getContexts() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (87c1fed5)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/contexts 200 81 ms - 57
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] Found existing Chromedriver for context 'WEBVIEW_com.saucelabshybridapp'. Using it.
[debug] [WD Proxy] Matched '/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /url] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"https://www.saucedemo.com/"}
[debug] [W3C (87c1fed5)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 73 ms - 14
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title
[HTTP] {}
[W3C (87c1fed5)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/87c1fed5-2474-4359-a047-fce6fb310fb3/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId a07b379ed2eee7ffe36044df69f550a9 with 87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/title 200 11 ms - 72
[HTTP]
[HTTP] --> GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url
[HTTP] {}
[W3C (87c1fed5)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/87c1fed5-2474-4359-a047-fce6fb310fb3/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url] to [GET http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId a07b379ed2eee7ffe36044df69f550a9 with 87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] <-- GET /session/87c1fed5-2474-4359-a047-fce6fb310fb3/url 200 9 ms - 89
[HTTP]
[HTTP] --> POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_6235"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_6235'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_6235 mapped to pid 6235
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_6235'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (87c1fed5)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/87c1fed5-2474-4359-a047-fce6fb310fb3/context 200 58 ms - 14
[HTTP]
[HTTP] --> DELETE /session/87c1fed5-2474-4359-a047-fce6fb310fb3
[HTTP] {}
[debug] [W3C (87c1fed5)] Calling AppiumDriver.deleteSession() with args: ["87c1fed5-2474-4359-a047-fce6fb310fb3"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1605449029077 (15:03:49 GMT+0100 (Central European Standard Time))
[Appium] Removing session 87c1fed5-2474-4359-a047-fce6fb310fb3 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.saucelabshybridapp
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/a07b379ed2eee7ffe36044df69f550a9] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a07b379ed2eee7ffe36044df69f550a9","status":0,"value":null}
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/40973a0a-3a83-4fed-94b3-06db900f8ec3] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"40973a0a-3a83-4fed-94b3-06db900f8ec3","value":null}
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.saucelabshybridapp'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8200'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[debug] [Instrumentation] .
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1605449029279 (15:03:49 GMT+0100 (Central European Standard Time))
[debug] [W3C (87c1fed5)] Received response: null
[debug] [W3C (87c1fed5)] But deleting session, so not returning
[debug] [W3C (87c1fed5)] Responding to client with driver.deleteSession() result: null
[debug] [W3C (87c1fed5)] Destroying socket connection
[HTTP] <-- DELETE /session/87c1fed5-2474-4359-a047-fce6fb310fb3 200 204 ms - 14
[HTTP]
[debug] [Instrumentation] Time: 38.216
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
[Appium] Welcome to Appium v1.19.0-rc.3
[Appium] Non-default server args:
[Appium] basePath: /
[Appium] relaxedSecurityEnabled: true
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /session
[HTTP] {"capabilities":{"alwaysMatch":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"firstMatch":[{}]},"desiredCapabilities":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},null,{"alwaysMatch":{"automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformName":"Android","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1605449380967 (15:09:40 GMT+0100 (Central European Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] automationName
[BaseDriver] deviceName
[BaseDriver] platformVersion
[BaseDriver] orientation
[BaseDriver] app
[BaseDriver] appWaitActivity
[BaseDriver] noReset
[BaseDriver] autoGrantPermissions
[BaseDriver] newCommandTimeout
[BaseDriver] language
[BaseDriver] locale
[Appium] Appium v1.19.0-rc.3 creating new AndroidUiautomator2Driver (v1.59.0) session
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:automationName": "UiAutomator2",
[debug] [BaseDriver] "appium:deviceName": "Pixel_3_10.0",
[debug] [BaseDriver] "platformName": "Android",
[debug] [BaseDriver] "appium:platformVersion": "10.0",
[debug] [BaseDriver] "appium:orientation": "PORTRAIT",
[debug] [BaseDriver] "appium:app": "/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk",
[debug] [BaseDriver] "appium:appWaitActivity": "com.saucelabshybridapp.MainActivity",
[debug] [BaseDriver] "appium:noReset": true,
[debug] [BaseDriver] "appium:autoGrantPermissions": true,
[debug] [BaseDriver] "appium:newCommandTimeout": 240,
[debug] [BaseDriver] "appium:language": "en",
[debug] [BaseDriver] "appium:locale": "en"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[BaseDriver] Using local app '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[ADB] Found 11 'build-tools' folders under '/Users/wimselles/Library/Android/sdk' (newest first):
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.1
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.0-rc4
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/30.0.0-rc2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.2
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.1
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.0
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/29.0.0-rc3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/28.0.3
[ADB] /Users/wimselles/Library/Android/sdk/build-tools/27.0.3
[ADB] Using 'adb' from '/Users/wimselles/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[AndroidDriver] Looking for a device with Android '10.0.0'
[debug] [ADB] Setting device id to emulator-5554
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[AndroidDriver] Using device: emulator-5554
[ADB] Using 'adb' from '/Users/wimselles/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[debug] [ADB] Setting device id to emulator-5554
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 29
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[debug] [ADB] Device API level: 29
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Package name: 'com.saucelabshybridapp'
[ADB] Main activity name: 'com.saucelabshybridapp.SplashActivity'
[debug] [AndroidDriver] Parsed package and activity are: com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.1' >= '3.2.1')
[debug] [ADB] There is no need to install/upgrade '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': en-EN
[debug] [ADB] Current locale: 'en-EN'; requested locale: 'en-EN'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': en-EN
[debug] [ADB] Requested locale is equal to current locale: 'en-en'
[debug] [Logcat] Starting logs capture with command: /Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.15.0' >= '4.15.0')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.15.0.apk
[ADB] Using 'apksigner.jar' from '/Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar'
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.15.0.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.15.0.apk'
[ADB] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.15.0.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [ADB] Checking app cert for /Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/wimselles/Library/Android/sdk/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] sha256 hash did match for 'Android.SauceLabs.Hybrid.app.1.0.0.apk'
[ADB] '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk' is signed with the default certificate
[debug] [ADB] Getting install status for com.saucelabshybridapp
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.saucelabshybridapp'
[debug] [ADB] 'com.saucelabshybridapp' is installed
[debug] [ADB] Getting package info for 'com.saucelabshybridapp'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.saucelabshybridapp'
[debug] [ADB] The version name of the installed 'com.saucelabshybridapp' is greater or equal to the application version name ('1.0.0' >= '1.0.0')
[debug] [ADB] There is no need to install/upgrade '/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk'
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.15.0
[UiAutomator2] Using UIAutomator2 server from '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.15.0.apk' and test from '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 2049ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en","deviceUDI...
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"new...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":{"androidId":"7ef4f20b657dd49c","apiVersion":"29","bluetooth":null,"brand":"google","carrierName":"Android","displayDensity":440,"locale":"en_EN","manufacturer":"Google","model":"Android SDK built for x86","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"10","realDisplaySize":"1080x2160","timeZone":"Europe/Amsterdam"}}
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] Starting 'com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity and waiting for 'com.saucelabshybridapp/com.saucelabshybridapp.MainActivity'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.saucelabshybridapp/com.saucelabshybridapp.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.saucelabshybridapp' and activity: 'com.saucelabshybridapp.MainActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.saucelabshybridapp.MainActivity', 'com.saucelabshybridapp.com.saucelabshybridapp.MainActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] [ADB] Found package: 'com.saucelabshybridapp' and fully qualified activity name : 'com.saucelabshybridapp.MainActivity'
[debug] [UiAutomator2] Setting initial orientation to 'PORTRAIT'
[debug] [WD Proxy] Matched '/orientation' to command name 'setOrientation'
[debug] [WD Proxy] Proxying [POST /orientation] to [POST http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":"PORTRAIT"}
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/appium/device/pixel_ratio] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":2.75}
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/appium/device/system_bars] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":{"statusBar":66}}
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":{"height":2028,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session 8e1f506e-0d10-489e-a1c4-b17f94e7f250 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1605449387703 (15:09:47 GMT+0100 (Central European Standard Time))
[debug] [W3C (8e1f506e)] Cached the protocol value 'W3C' for the new session 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[debug] [W3C (8e1f506e)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Pixel_3_10.0","platformVersion":"10.0","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"emulator-5554","platformVersion":"10","orientation":"PORTRAIT","app":"/Users/wimselles/Sauce/Git/SauceLabsHybridApp/apps/Android.SauceLabs.Hybrid.app.1.0.0.apk","appWaitActivity":"com.saucelabshybridapp.MainActivity","noReset":true,"autoGrantPermissions":true,"newCommandTimeout":240,"language":"en","locale":"en","deviceUDID":"emulator-5554...
[HTTP] <-- POST /session 200 6740 ms - 1371
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.getCurrentContext() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [W3C (8e1f506e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 6 ms - 22
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/contexts
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.getContexts() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps --help'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (8e1f506e)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/contexts 200 91 ms - 57
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] A port was not given, using random free port: 8000
[debug] [AndroidDriver] Precalculated Chromedriver capabilities: {
[debug] [AndroidDriver] "androidPackage": "com.saucelabshybridapp",
[debug] [AndroidDriver] "androidUseRunningApp": true,
[debug] [AndroidDriver] "androidDeviceSerial": "emulator-5554"
[debug] [AndroidDriver] }
[debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.saucelabshybridapp'
[debug] [Chromedriver] Changed state to 'starting'
[debug] [Chromedriver] Using the static Chromedriver->Chrome mapping
[debug] [Chromedriver] The most recent known Chrome version: 86.0.4240
[debug] [Chromedriver] Found 2 executables in '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac'
[debug] [Chromedriver] The following Chromedriver executables were found:
[debug] [Chromedriver] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver' (version '86.0.4240.22', minimum Chrome version '86.0.4240')
[debug] [Chromedriver] '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6' (version '74.0.3729.6', minimum Chrome version '74.0.3729')
[debug] [ADB] Getting package info for 'com.google.android.webview'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.google.android.webview'
[debug] [Chromedriver] Found Chrome bundle 'com.google.android.webview' version '74.0.3729'
[debug] [Chromedriver] Found 1 executable capable of automating Chrome '74.0.3729'.
[debug] [Chromedriver] Choosing the most recent, '/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6'.
[debug] [Chromedriver] If a specific version is required, specify it with the `chromedriverExecutable`desired capability.
[Chromedriver] Set chromedriver binary as: /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6
[debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6.*--port=8000"
[Chromedriver] No old chromedrivers seem to exist
[debug] [Chromedriver] Cleaning this device's adb forwarded port socket connections: emulator-5554
[debug] [ADB] List forwarding ports
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --list'
[debug] [ADB] Removing forwarded port socket connection: 49319
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:49319'
[Chromedriver] Spawning chromedriver with: /Users/wimselles/.nvm/versions/node/v12.19.0/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6 --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug] [Chromedriver] Chromedriver version: '74.0.3729.6'
[debug] [Chromedriver] Chromedriver v. 74.0.3729.6 does not fully support W3C protocol. Defaulting to MJSONWP
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8000
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"","status":0,"value":{"build":{"version":"74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.15.7"},"ready":true}}
[Chromedriver] Starting MJSONWP Chromedriver session with capabilities: {
[Chromedriver] "desiredCapabilities": {
[Chromedriver] "chromeOptions": {
[Chromedriver] "androidPackage": "com.saucelabshybridapp",
[Chromedriver] "androidUseRunningApp": true,
[Chromedriver] "androidDeviceSerial": "emulator-5554"
[Chromedriver] },
[Chromedriver] "loggingPrefs": {
[Chromedriver] "browser": "ALL"
[Chromedriver] }
[Chromedriver] }
[Chromedriver] }
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.saucelabshybridapp","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"},"loggingPrefs":{"browser":"ALL"}}}
[debug] [Chromedriver] Webview version: 'Chrome/74.0.3729.185'
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:49588"},"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","proxy":{},"rotatable":false,"setWindowRect":false,"strictFileInteractability":false,"takesHeapSnapshot":true,"takesScreenshot":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unexpectedAlertBehaviour":"ignore","version":"74.0.3729.185","webStorageEnabled":true}}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [Chromedriver] Changed state to 'online'
[debug] [W3C (8e1f506e)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 466 ms - 14
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title
[HTTP] {}
[W3C (8e1f506e)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId 7ab304dc666e5313912636437d879b50 with 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title 200 28 ms - 72
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url
[HTTP] {}
[W3C (8e1f506e)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId 7ab304dc666e5313912636437d879b50 with 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url 200 10 ms - 89
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (8e1f506e)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 74 ms - 14
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element
[HTTP] {"using":"accessibility id","value":"test-sauce-labs"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.findElement() with args: ["accessibility id","test-sauce-labs","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/element] with body: {"strategy":"accessibility id","selector":"test-sauce-labs","context":"","multiple":false}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":{"ELEMENT":"a96dd713-9130-42b7-ba37-310e0b06de94","element-6066-11e4-a52e-4f735466cecf":"a96dd713-9130-42b7-ba37-310e0b06de94"}}
[debug] [W3C (8e1f506e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a96dd713-9130-42b7-ba37-310e0b06de94","ELEMENT":"a96dd713-9130-42b7-ba37-310e0b06de94"}
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element 200 41 ms - 137
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element/a96dd713-9130-42b7-ba37-310e0b06de94/click
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.click() with args: ["a96dd713-9130-42b7-ba37-310e0b06de94","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [WD Proxy] Matched '/element/a96dd713-9130-42b7-ba37-310e0b06de94/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/a96dd713-9130-42b7-ba37-310e0b06de94/click] to [POST http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/element/a96dd713-9130-42b7-ba37-310e0b06de94/click] with body: {"element":"a96dd713-9130-42b7-ba37-310e0b06de94"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":null}
[debug] [W3C (8e1f506e)] Responding to client with driver.click() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element/a96dd713-9130-42b7-ba37-310e0b06de94/click 200 519 ms - 14
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.getCurrentContext() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [W3C (8e1f506e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 1 ms - 22
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/contexts
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.getContexts() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (8e1f506e)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/contexts 200 81 ms - 57
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] Found existing Chromedriver for context 'WEBVIEW_com.saucelabshybridapp'. Using it.
[debug] [WD Proxy] Matched '/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /url] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"https://www.saucedemo.com/"}
[debug] [W3C (8e1f506e)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 81 ms - 14
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title
[HTTP] {}
[W3C (8e1f506e)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId 7ab304dc666e5313912636437d879b50 with 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title 200 10 ms - 72
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url
[HTTP] {}
[W3C (8e1f506e)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId 7ab304dc666e5313912636437d879b50 with 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url 200 189 ms - 89
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (8e1f506e)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 91 ms - 14
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element
[HTTP] {"using":"accessibility id","value":"test-open-source"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.findElement() with args: ["accessibility id","test-open-source","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/element] with body: {"strategy":"accessibility id","selector":"test-open-source","context":"","multiple":false}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":{"ELEMENT":"83c33f47-b663-4342-94a8-f5c615fba256","element-6066-11e4-a52e-4f735466cecf":"83c33f47-b663-4342-94a8-f5c615fba256"}}
[debug] [W3C (8e1f506e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"83c33f47-b663-4342-94a8-f5c615fba256","ELEMENT":"83c33f47-b663-4342-94a8-f5c615fba256"}
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element 200 602 ms - 137
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element/83c33f47-b663-4342-94a8-f5c615fba256/click
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.click() with args: ["83c33f47-b663-4342-94a8-f5c615fba256","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [WD Proxy] Matched '/element/83c33f47-b663-4342-94a8-f5c615fba256/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /element/83c33f47-b663-4342-94a8-f5c615fba256/click] to [POST http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7/element/83c33f47-b663-4342-94a8-f5c615fba256/click] with body: {"element":"83c33f47-b663-4342-94a8-f5c615fba256"}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":null}
[debug] [W3C (8e1f506e)] Responding to client with driver.click() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/element/83c33f47-b663-4342-94a8-f5c615fba256/click 200 21441 ms - 14
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.getCurrentContext() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [W3C (8e1f506e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 2 ms - 22
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/contexts
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.getContexts() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (8e1f506e)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/contexts 200 104 ms - 57
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {"name":"WEBVIEW_com.saucelabshybridapp"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.saucelabshybridapp","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.saucelabshybridapp'
[debug] [AndroidDriver] Found existing Chromedriver for context 'WEBVIEW_com.saucelabshybridapp'. Using it.
[debug] [WD Proxy] Matched '/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /url] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"https://www.saucedemo.com/"}
[debug] [W3C (8e1f506e)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 78 ms - 14
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title
[HTTP] {}
[W3C (8e1f506e)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title' to command name 'title'
[debug] [WD Proxy] Proxying [GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/title] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"Swag Labs"}
[WD Proxy] Replacing sessionId 7ab304dc666e5313912636437d879b50 with 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/title 200 12 ms - 72
[HTTP]
[HTTP] --> GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url
[HTTP] {}
[W3C (8e1f506e)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url' to command name 'getUrl'
[debug] [WD Proxy] Proxying [GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url] to [GET http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50/url] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":"https://www.saucedemo.com/"}
[WD Proxy] Replacing sessionId 7ab304dc666e5313912636437d879b50 with 8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] <-- GET /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/url 200 12 ms - 89
[HTTP]
[HTTP] --> POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7133"]
[AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on
[debug] [AndroidDriver] Collecting CDP data of 1 webview
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_7133'
[debug] [ADB] Removing forwarded port socket connection: 10900
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'
[debug] [AndroidDriver] CDP data collection completed
[debug] [AndroidDriver] WEBVIEW_7133 mapped to pid 7133
[debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7133'
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'
[debug] [AndroidDriver] Got process name: 'com.saucelabshybridapp'
[debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.saucelabshybridapp"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.saucelabshybridapp"]
[debug] [W3C (8e1f506e)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250/context 200 73 ms - 14
[HTTP]
[HTTP] --> DELETE /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250
[HTTP] {}
[debug] [W3C (8e1f506e)] Calling AppiumDriver.deleteSession() with args: ["8e1f506e-0d10-489e-a1c4-b17f94e7f250"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1605449420828 (15:10:20 GMT+0100 (Central European Standard Time))
[Appium] Removing session 8e1f506e-0d10-489e-a1c4-b17f94e7f250 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.saucelabshybridapp
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/7ab304dc666e5313912636437d879b50] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"7ab304dc666e5313912636437d879b50","status":0,"value":null}
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/902f8a57-eac1-470c-a75b-8198219b4db7] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"902f8a57-eac1-470c-a75b-8198219b4db7","value":null}
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.saucelabshybridapp'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8200'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/wimselles/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1605449421039 (15:10:21 GMT+0100 (Central European Standard Time))
[debug] [W3C (8e1f506e)] Received response: null
[debug] [W3C (8e1f506e)] But deleting session, so not returning
[debug] [W3C (8e1f506e)] Responding to client with driver.deleteSession() result: null
[debug] [W3C (8e1f506e)] Destroying socket connection
[HTTP] <-- DELETE /session/8e1f506e-0d10-489e-a1c4-b17f94e7f250 200 213 ms - 14
[HTTP]
[debug] [Instrumentation] .
[debug] [Instrumentation] Time: 37.225
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment