https://pastein.ru/t/hY

  скопируйте уникальную ссылку для отправки


:"","newCommandTimeout":"120","platformVersion":"8","automationName":"UiAutomator2","autoGrantPermissions":"true","browserName":"Chrome","unicodeKeyboard":"","platformName":"Android","udid":"","resetKeyboard":"true","autoAcceptAlerts":"true"},null,{"firstMatch":[{"appium:app":"","appium:appActivity":"","appium:appPackage":"","appium:appiumVersion":"","appium:autoAcceptAlerts":"true","appium:autoGrantPermissions":"true","appium:automationName":"UiAutomator2","browserName":"Chrome","appium:bundleId":"","appium:connectHardwareKeyboard":false,"appium:deviceName":"emulator-5554","appium:fullReset":"","appium:newCommandTimeout":"120","appium:noReset":"true","platformName":"android","appium:platformVersion":"8","appium:resetKeyboard":"true","appium:udid":"","appium:unicodeKeyboard":"","appium:xcodeOrgId":"","appium...
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1577430210753 (10:03:30 GMT+0300 (Москва, стандартное время))
[BaseDriver] The capabilities ["chromeOptions"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.15.1 creating new AndroidUiautomator2Driver (v1.37.2) session
[Appium] Explicitly enabling use of insecure features:
[Appium]     chromedriver_autodownload
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "browserName": "Chrome",
[debug] [BaseDriver]     "platformName": "android",
[debug] [BaseDriver]     "appium:chromeOptions": {
[debug] [BaseDriver]       "w3c": false,
[debug] [BaseDriver]       "androidPackage": "com.android.chrome"
[debug] [BaseDriver]     },
[debug] [BaseDriver]     "appium:app": "",
[debug] [BaseDriver]     "appium:appActivity": "",
[debug] [BaseDriver]     "appium:appPackage": "",
[debug] [BaseDriver]     "appium:appiumVersion": "",
[debug] [BaseDriver]     "appium:autoAcceptAlerts": "true",
[debug] [BaseDriver]     "appium:autoGrantPermissions": "true",
[debug] [BaseDriver]     "appium:automationName": "UiAutomator2",
[debug] [BaseDriver]     "appium:bundleId": "",
[debug] [BaseDriver]     "appium:connectHardwareKeyboard": false,
[debug] [BaseDriver]     "appium:deviceName": "emulator-5554",
[debug] [BaseDriver]     "appium:fullReset": "",
[debug] [BaseDriver]     "appium:newCommandTimeout": "120",
[debug] [BaseDriver]     "appium:noReset": "true",
[debug] [BaseDriver]     "appium:platformVersion": "8",
[debug] [BaseDriver]     "appium:resetKeyboard": "true",
[debug] [BaseDriver]     "appium:udid": "",
[debug] [BaseDriver]     "appium:unicodeKeyboard": "",
[debug] [BaseDriver]     "appium:xcodeOrgId": "",
[debug] [BaseDriver]     "appium:xcodeSigningId": ""
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'resetKeyboard' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('120') to integer (120). This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver]   appiumVersion
[BaseDriver]   autoAcceptAlerts
[BaseDriver]   bundleId
[BaseDriver]   connectHardwareKeyboard
[BaseDriver]   xcodeOrgId
[BaseDriver]   xcodeSigningId
[BaseDriver] Session created with session id: b4560d81-372c-4654-ae8c-16d6ace14043
[UiAutomator2] We're going to run a Chrome-based session
[UiAutomator2] Chrome-type package and activity are com.android.chrome and com.google.android.apps.chrome.Main
[UiAutomator2] Starting 'com.android.chrome' directly on the device
[ADB] Using 'adb' from '/Users/raftlab/Library/Android/sdk/platform-tools/adb'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] Could not find devices, restarting adb server...
[debug] [ADB] Restarting adb
[debug] [ADB] Killing adb server on port 5037
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 kill-server'
[debug] [ADB] Getting connected devices...
[debug] [ADB] Connected devices: [{"udid":"42008f6c061fa595","state":"device"},{"udid":"HBAXHM00A084ZRB","state":"device"},{"udid":"ce04182461f24c450c7e","state":"device"}]
[AndroidDriver] Looking for a device with Android '8'
[debug] [ADB] Setting device id to 42008f6c061fa595
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s 42008f6c061fa595 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 9
[debug] [ADB] Setting device id to HBAXHM00A084ZRB
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 8.1.0
[debug] [ADB] Setting device id to ce04182461f24c450c7e
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s ce04182461f24c450c7e shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 8.1.0
[debug] [ADB] Setting device id to HBAXHM00A084ZRB
[AndroidDriver] Using device: HBAXHM00A084ZRB
[ADB] Using 'adb' from '/Users/raftlab/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Setting device id to HBAXHM00A084ZRB
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 27
[debug] [ADB] Device API level: 27
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB wait-for-device'
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB 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/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell dumpsys package io.appium.settings'
[ADB] Using 'apkanalyzer' from '/Users/raftlab/Library/Android/sdk/tools/bin/apkanalyzer'
[debug] [ADB] Starting '/Users/raftlab/Library/Android/sdk/tools/bin/apkanalyzer' with args ["manifest","print","/usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk"]
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('2.14.2' >= '2.14.2')
[debug] [ADB] There is no need to install/upgrade '/usr/local/Cellar/appium/1.15.1/libexec/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/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB 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/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell appops set io.appium.settings android\:mock_location allow'
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB 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/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] Starting '/Users/raftlab/Library/Android/sdk/tools/bin/apkanalyzer' with args ["manifest","print","/usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.3.0.apk"]
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.3.0' >= '4.3.0')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.3.0.apk
[ADB] Using 'apksigner' from '/Users/raftlab/Library/Android/sdk/build-tools/29.0.2/apksigner'
[debug] [ADB] Starting '/Users/raftlab/Library/Android/sdk/build-tools/29.0.2/apksigner' with args '["verify","--print-certs","/usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.3.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] '/usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.3.0.apk' is already signed.
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting '/Users/raftlab/Library/Android/sdk/build-tools/29.0.2/apksigner' with args '["verify","--print-certs","/usr/local/Cellar/appium/1.15.1/libexec/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] '/usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed.
[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/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB forward tcp\:8200 tcp\:6790'
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] The following obsolete sessions are still running: ["07c79a7f-2862-48db-b435-b38ea086768c"]
[debug] [UiAutomator2] Cleaning up the obsolete sessions
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.3.0
[UiAutomator2] Using UIAutomator2 server from '/usr/local/Cellar/appium/1.15.1/libexec/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.3.0.apk' and test from '/usr/local/Cellar/appium/1.15.1/libexec/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","HBAXHM00A084ZRB","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://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[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://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 4189ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"browserName":"Chrome","platformName":"android","chromeOptions":{"w3c":false,"androidPackage":"com.android.chrome"},"app":"","appActivity":"","appPackage":"","appiumVersion":"","autoAcceptAlerts":"true","autoGrantPermissions":true,"automationName":"UiAutomator2","bundleId":"","connectHardwareKeyboard":false,"deviceName":"emulator-5554","fullReset":"","newCommandTimeout":120,"noReset":true,"platformVersion":"8","resetKeyboard":true,"udid":"","unicodeKeyboard":"","xcodeOrgId":"","xcodeSigningId":""},"browserName":"Chrome","platformName":"android","chromeOptions":{"w3c":false,"androidPackage":"com.android.chrome"},"app":"","appActivity":"com.google.android.apps.chrome.Main","appPackage":"com.android.chrome","appiumVersion":"","autoAcceptAlerts":"true","autoGrantPermissions":tr...
[debug] [WD Proxy] Got response with status 200: {"sessionId":"84951cdc-d10b-4d5e-8278-7499c519361f","value":{"sessionId":"84951cdc-d10b-4d5e-8278-7499c519361f","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"browserName":"Chrome","platformName":"android","chromeOptions":{"w3c":false,"androidPackage":"com.android.chrome"},"app":"","appActivity":"","appPackage":"","appiumVersion":"","autoAcceptAlerts":"true","autoGrantPermissions":true,"automationName":"UiAutomator2","bundleId":"","connectHardwareKeyboard":false,"deviceName":"emulator-5554","fullReset":"","newCommandTimeout":120,"noReset":true,"platformVersion":"8","resetKeyboard":true,"udid":"","unicodeKeyboard":"","xcodeOrgId":"","xcodeSigningId":""},"browserName":"Chrome","platformName":"android","chromeOptions":{"w3c":false,"androidPackage":"com.android.chrome"},"app":"","appActivity":"com.google.android.apps.chrome...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8200/wd/hub/session/84951cdc-d10b-4d5e-8278-7499c519361f/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"84951cdc-d10b-4d5e-8278-7499c519361f","value":{"androidId":"c71e1e3777053e7b","manufacturer":"asus","model":"ASUS_X00LD","brand":"asus","apiVersion":"27","platformVersion":"8.1.0","carrierName":"","realDisplaySize":"720x1280","displayDensity":320,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"Mafin\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"NET_CAPABILITY_SUPL","networkCapabilities":"","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-50,"networkSpecifier":null,"SSID":null}}],"locale":"ru_RU","timeZone":"Europe\/Moscow"}}
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidDriver] Starting a chrome-based browser session
[debug] [AndroidDriver] A port was not given, using random free port: 8000
[AndroidDriver] Cannot pass option com.android.chrome because Appium needs it to make chromeDriver work
[debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.android.chrome'
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /Users/raftlab/selenium-web/chromedriver
[debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/raftlab/selenium-web/chromedriver.*--port=8000"
[Chromedriver] No old chromedrivers seem to exist
[debug] [Chromedriver] Cleaning any old adb forwarded port socket connections
[debug] [ADB] List forwarding ports
[debug] [ADB] Running '/Users/raftlab/Library/Android/sdk/platform-tools/adb -P 5037 -s HBAXHM00A084ZRB forward --list'
[Chromedriver] Spawning chromedriver with: /Users/raftlab/selenium-web/chromedriver --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[Chromedriver] Chromedriver exited unexpectedly with code 126, signal null
[debug] [Chromedriver] Changed state to 'stopped'
[HTTP] <-- POST /wd/hub/session - - ms - -
[HTTP] 
[debug] [Instrumentation] The process has exited with code 0
[Logcat] Logcat terminated with code 0, signal null