Closing the application when selecting an element

I have encountered a serious error on this Instagram page:

I want to share a lot of posts on Instagram, the first time there is no problem, but the second time when I open the application and want to share a new post, sometimes when I select the posts, I get the following error I turn:

...
    PageCreateNewPost_GalleryItems[PostItems].click()
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/appium/webdriver/errorhandler.py", line 31, in check_response
    raise wde
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/appium/webdriver/errorhandler.py", line 26, in check_response
    super().check_response(response)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.StaleElementReferenceException: Message: Cached elements 'By.id: com.instagram.android:id/gallery_picker_grid_item_container' do not exist in DOM anymore

.
.
.

And sometimes when I want to click on the next button on this page, I get the following error

...
    PageCreateNewPost_NextButton = driver.find_element(By.ID, Read_Config('Locator-PageCreateNewPost', 'PageCreateNewPost_NextButton'))
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id
    return self.find_element(by=By.ID, value=id_)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/appium/webdriver/webdriver.py", line 279, in find_element
    return self.execute(RemoteCommand.FIND_ELEMENT, {
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/appium/webdriver/errorhandler.py", line 31, in check_response
    raise wde
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/appium/webdriver/errorhandler.py", line 26, in check_response
    super().check_response(response)
  File "/Users/amir/opt/anaconda3/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.

I tested different methods “By.ID” and “By.XPATH” and “CSS_SELECTOR” and … but in all cases when I want to come for the second time and share a post with Appium one of these 2 errors I give

I don’t know if the reason for this error is because the elements on this page are “Hide Element Handles” or something else!?

Does anyone have any suggestions or solutions for this?
(The problem is that when you select one of these elements, the Instagram app automatically closes very quickly, as if it jumps out of the app)

The description sounds very much like a crash in the app. What does logcat say? You may be looking at a bug in app under test.

This is my entire log:

[info] e[35m[HTTP]e[39m Waiting until the server is closed
[info] e[35m[HTTP]e[39m Received server close event
[info] e[35m[Appium]e[39m Welcome to Appium v1.22.3
[info] e[35m[Appium]e[39m Non-default server args:
[info] e[35m[Appium]e[39m   relaxedSecurityEnabled: true
[info] e[35m[Appium]e[39m   allowInsecure: {
[info] e[35m[Appium]e[39m   }
[info] e[35m[Appium]e[39m   denyInsecure: {
[info] e[35m[Appium]e[39m   }
[info] e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:4723[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m3 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m4 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[debug] e[35m[HTTP]e[39m Request idempotency key: 53289a86-33b4-4221-a7c1-bb30b2321d4f
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] e[35m[HTTP]e[39m e[90m{"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:automationName":"UiAutomator2","appium:udid":"emulator-5554","appium:app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.android.activity.MainTabActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true}}e[39m
[debug] e[35m[W3C]e[39m Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:automationName":"UiAutomator2","appium:udid":"emulator-5554","appium:app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.android.activity.MainTabActivity","appium:noReset":true}]}]
[debug] e[35m[BaseDriver]e[39m Event 'newSessionRequested' logged at 1714665009810 (20:20:09 GMT+0430 (Iran Daylight Time))
[info] e[35m[Appium]e[39m Appium v1.22.3 creating new AndroidUiautomator2Driver (v1.70.1) session
[info] e[35m[Appium]e[39m Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] e[35m[BaseDriver]e[39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] e[35m[BaseDriver]e[39m Creating session with W3C capabilities: {
[debug] e[35m[BaseDriver]e[39m   "alwaysMatch": {
[debug] e[35m[BaseDriver]e[39m     "platformName": "Android",
[debug] e[35m[BaseDriver]e[39m     "appium:deviceName": "Android",
[debug] e[35m[BaseDriver]e[39m     "appium:automationName": "UiAutomator2",
[debug] e[35m[BaseDriver]e[39m     "appium:udid": "emulator-5554",
[debug] e[35m[BaseDriver]e[39m     "appium:app": "/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk",
[debug] e[35m[BaseDriver]e[39m     "appium:appPackage": "com.instagram.android",
[debug] e[35m[BaseDriver]e[39m     "appium:appActivity": "com.instagram.android.activity.MainTabActivity",
[debug] e[35m[BaseDriver]e[39m     "appium:noReset": true
[debug] e[35m[BaseDriver]e[39m   },
[debug] e[35m[BaseDriver]e[39m   "firstMatch": [
[debug] e[35m[BaseDriver]e[39m     {}
[debug] e[35m[BaseDriver]e[39m   ]
[debug] e[35m[BaseDriver]e[39m }
[info] e[35m[BaseDriver]e[39m Session created with session id: bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72
[info] e[35m[BaseDriver]e[39m Using local app '/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk'
[debug] e[35m[UiAutomator2]e[39m Checking whether app is actually present
[info] e[35m[ADB]e[39m Using 'adb' from '/Users/amir/Library/Android/sdk/platform-tools/adb'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[info] e[35m[AndroidDriver]e[39m Retrieving device list
[debug] e[35m[ADB]e[39m Trying to find a connected android device
[debug] e[35m[ADB]e[39m Getting connected devices[debug] e[35m[ADB]e[39m Connected devices: [{"udid":"emulator-5554","state":"device"}]
[info] e[35m[AndroidDriver]e[39m Using device: emulator-5554
[info] e[35m[ADB]e[39m Using 'adb' from '/Users/amir/Library/Android/sdk/platform-tools/adb'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[debug] e[35m[ADB]e[39m Setting device id to emulator-5554
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] e[35m[ADB]e[39m Current device property 'ro.build.version.sdk': 27
[debug] e[35m[ADB]e[39m Device API level: 27
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] e[35m[AndroidDriver]e[39m Pushing settings apk to device...
[debug] e[35m[ADB]e[39m Getting install status for io.appium.settings
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] e[35m[ADB]e[39m 'io.appium.settings' is installed
[debug] e[35m[ADB]e[39m Getting package info for 'io.appium.settings'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] e[35m[ADB]e[39m The version code of the installed 'io.appium.settings' is greater than the application version code (75 > 30)
[debug] e[35m[ADB]e[39m There is no need to downgrade 'io.appium.settings'
[debug] e[35m[ADB]e[39m Getting IDs of all 'io.appium.settings' processes
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'[debug] e[35m[AndroidDriver]e[39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] e[35m[Logcat]e[39m Starting logs capture with command: /Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime
[debug] e[35m[UiAutomator2]e[39m Forwarding UiAutomator2 Server port 6790 to local port 8218
[debug] e[35m[ADB]e[39m Forwarding system: 8218 to device: 6790
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8218 tcp:6790'
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'[debug] e[35m[ADB]e[39m 'io.appium.uiautomator2.server' is installed
[debug] e[35m[ADB]e[39m Getting package info for 'io.appium.uiautomator2.server'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'[debug] e[35m[ADB]e[39m The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0')
[debug] e[35m[UiAutomator2]e[39m io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] e[35m[ADB]e[39m Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk
[debug] e[35m[ADB]e[39m Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk'
[debug] e[35m[ADB]e[39m sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.apk'
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] e[35m[ADB]e[39m 'io.appium.uiautomator2.server.test' is installed
[debug] e[35m[ADB]e[39m Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] e[35m[ADB]e[39m Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[debug] e[35m[ADB]e[39m sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[info] e[35m[UiAutomator2]e[39m Server packages are not going to be (re)installed
[debug] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for services to be available
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[debug] e[35m[UiAutomator2]e[39m Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[info] e[35m[ADB]e[39m Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] e[35m[ADB]e[39m 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] e[35m[ADB]e[39m Running '/Users/amir/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] e[35m[ADB]e[39m Checking app cert for /Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk[debug] e[35m[ADB]e[39m Using the previously cached signature entry for 'Instagram_x86.apk'
[debug] e[35m[ADB]e[39m Getting install status for com.instagram.android
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.instagram.android'
[debug] e[35m[ADB]e[39m 'com.instagram.android' is installed
[debug] e[35m[ADB]e[39m Getting package info for 'com.instagram.android'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.instagram.android'[debug] e[35m[ADB]e[39m The version name of the installed 'com.instagram.android' is greater or equal to the application version name ('321.0.0' >= '321.0.0')
[debug] e[35m[ADB]e[39m There is no need to install/upgrade '/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk'
[debug] e[35m[UiAutomator2]e[39m Performing shallow cleanup of automation leftovers
[debug] e[35m[UiAutomator2]e[39m The following obsolete sessions are still running: ["0120ebc3-3fab-47ba-a21d-57946f65cbc4"]
[debug] e[35m[UiAutomator2]e[39m Cleaning up 1 obsolete session
[debug] e[35m[Instrumentation]e[39m .
[debug] e[35m[Instrumentation]e[39m Time: 3,817.212
[debug] e[35m[Instrumentation]e[39m 
[debug] e[35m[Instrumentation]e[39m OK (1 test)[debug] e[35m[Instrumentation]e[39m The process has exited with code 0[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[info] e[35m[UiAutomator2]e[39m Starting UIAutomator2 server 4.27.0
[info] e[35m[UiAutomator2]e[39m Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[info] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online...
[debug] e[35m[ADB]e[39m Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8218/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8218/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[Instrumentation]e[39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8218/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8218/wd/hub/status] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] e[35m[UiAutomator2]e[39m The initialization of the instrumentation process took 3174ms
[debug] e[35m[WD Proxy]e[39m Matched '/session' to command name 'createSession'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /session] to [POST http://127.0.0.1:8218/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","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"811827f9-574b-4cb4-aaa8...
[info] e[35m[WD Proxy]e[39m Determined the downstream protocol as 'W3C'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/device/info] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"androidId":"073d7e3f8a640364","apiVersion":"27","bluetooth":null,"brand":"samsung","carrierName":"Android","displayDensity":560,"locale":"en_US","manufacturer":"samsung","model":"SM-G9500","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":102400,"linkUpstreamBandwidthKbps":51200,"networkCapabilities":"NET_CAPABILITY_MMS,NET_CAPABILITY_SUPL,NET_CAPABILITY_DUN,NET_CAPABILITY_FOTA,NET_CAPABILITY_IMS,NET_CAPABILITY_CBS,NET_CAPABILITY_IA,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"epc.tmobile.com","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NE...
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] e[35m[AndroidDriver]e[39m Screen already unlocked, doing nothing
[info] e[35m[UiAutomator2]e[39m Starting 'com.instagram.android/com.instagram.android.activity.MainTabActivity and waiting for 'com.instagram.android/com.instagram.android.activity.MainTabActivity'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.instagram.android/com.instagram.android.activity.MainTabActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m7 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/device/pixel_ratio] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":3.5}
[debug] e[35m[WD Proxy]e[39m Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/device/system_bars] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"statusBar":84}}
[debug] e[35m[WD Proxy]e[39m Matched '/window/current/size' to command name 'getWindowSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/window/current/size] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":2792,"width":1440}}
[info] e[35m[Appium]e[39m New AndroidUiautomator2Driver session created successfully, session bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72 added to master session list
[debug] e[35m[BaseDriver]e[39m Event 'newSessionStarted' logged at 1714665027537 (20:20:27 GMT+0430 (Iran Daylight Time))
[debug] e[35m[W3C (bc010d7c)]e[39m Cached the protocol value 'W3C' for the new session bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72
[debug] e[35m[W3C (bc010d7c)]e[39m 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","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554","deviceApiLevel":27,"platformVersion":"8.1.0","deviceScreenSize":"1440x2960","deviceScreenDensity":560,"deviceModel":"SM-G9500","de...
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session e[39me[32m200e[39m e[90m17727 ms - 1209e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/creation_tab"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013"}}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013","ELEMENT":"00000000-0000-038a-ffff-ffff00000013"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element e[39me[32m200e[39m e[90m2512 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/creation_tab"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013"}}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013","ELEMENT":"00000000-0000-038a-ffff-ffff00000013"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element e[39me[32m200e[39m e[90m1494 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m2 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/creation_tab"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013"}}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013","ELEMENT":"00000000-0000-038a-ffff-ffff00000013"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element e[39me[32m200e[39m e[90m469 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/performe[39m
[info] e[35m[HTTP]e[39m e[90m{"actions":[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff00000013","count":1}}]}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff00000013","count":1}}],"bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[info] e[35m[UiAutomator2]e[39m calling get location: 00000000-0000-038a-ffff-ffff00000013
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff00000013/location' to command name 'getLocation'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-038a-ffff-ffff00000013/location] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000013/location] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"x":576,"y":2617}}
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff00000013/size' to command name 'getSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-038a-ffff-ffff00000013/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000013/size] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":175,"width":288}}
[debug] e[35m[WD Proxy]e[39m Proxying [POST /appium/tap] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/tap] with body: {"x":720,"y":2704.5,"undefined":null}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.performTouch() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform e[39me[32m200e[39m e[90m353 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397"}}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397","ELEMENT":"00000000-0000-038a-ffff-ffff00000397"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element e[39me[32m200e[39m e[90m3677 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elementse[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElements() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/elements' to command name 'findElements'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /elements] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/elements] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":true}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":[{"ELEMENT":"00000000-0000-038a-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397"},{"ELEMENT":"00000000-0000-038a-ffff-ffff0000039a","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000039a"}]}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397","ELEMENT":"00000000-0000-038a-ffff-ffff00000397"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000039a","ELEMENT":"00000000-0000-038a-ffff-ffff0000039a"}]
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elements e[39me[32m200e[39m e[90m568 ms - 267e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/performe[39m
[info] e[35m[HTTP]e[39m e[90m{"actions":[{"action":"press","options":{"element":"00000000-0000-038a-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5840}},{"action":"release","options":{}}]}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"element":"00000000-0000-038a-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5840}},{"action":"release","options":{}}],"bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[info] e[35m[UiAutomator2]e[39m calling get location: 00000000-0000-038a-ffff-ffff00000397
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff00000397/location' to command name 'getLocation'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-038a-ffff-ffff00000397/location] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000397/location] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"x":0,"y":1823}}
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff00000397/size' to command name 'getSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-038a-ffff-ffff00000397/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000397/size] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":356,"width":356}}
[debug] e[35m[WD Proxy]e[39m Matched '/touch/down' to command name 'touchDown'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /touch/down] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/touch/down] with body: {"params":{"element":null,"x":178,"y":2001}}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}[debug] e[35m[WD Proxy]e[39m Matched '/touch/up' to command name 'touchUp'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /touch/up] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/touch/up] with body: {"params":{"x":178,"y":2001}}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.performTouch() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform e[39me[32m200e[39m e[90m8742 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m2 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element/00000000-0000-038a-ffff-ffff0000039a/clicke[39m
[info] e[35m[HTTP]e[39m e[90m{"id":"00000000-0000-038a-ffff-ffff0000039a"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.click() with args: ["00000000-0000-038a-ffff-ffff0000039a","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff0000039a/click' to command name 'click'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/00000000-0000-038a-ffff-ffff0000039a/click] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff0000039a/click] with body: {"element":"00000000-0000-038a-ffff-ffff0000039a"}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element/00000000-0000-038a-ffff-ffff0000039a/click e[39me[32m200e[39m e[90m55 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/next_button_textview"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c"}}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c","ELEMENT":"00000000-0000-038a-ffff-ffff0000021c"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element e[39me[32m200e[39m e[90m684 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/next_button_textview"}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c"}}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c","ELEMENT":"00000000-0000-038a-ffff-ffff0000021c"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element e[39me[32m200e[39m e[90m975 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/performe[39m
[info] e[35m[HTTP]e[39m e[90m{"actions":[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff0000021c","count":1}}]}e[39m
[debug] e[35m[W3C (bc010d7c)]e[39m Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff0000021c","count":1}}],"bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[info] e[35m[UiAutomator2]e[39m calling get location: 00000000-0000-038a-ffff-ffff0000021c
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff0000021c/location' to command name 'getLocation'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-038a-ffff-ffff0000021c/location] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff0000021c/location] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"x":1239,"y":0}}
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-038a-ffff-ffff0000021c/size' to command name 'getSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-038a-ffff-ffff0000021c/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff0000021c/size] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":196,"width":201}}
[debug] e[35m[WD Proxy]e[39m Proxying [POST /appium/tap] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/tap] with body: {"x":1339.5,"y":98,"undefined":null}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[debug] e[35m[W3C (bc010d7c)]e[39m Responding to client with driver.performTouch() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform e[39me[32m200e[39m e[90m232 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[debug] e[35m[HTTP]e[39m Request idempotency key: dff46b7e-5018-45cc-95d7-94353eb082ae
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] e[35m[HTTP]e[39m e[90m{"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:automationName":"UiAutomator2","appium:udid":"emulator-5554","appium:app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.android.activity.MainTabActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true}}e[39m
[debug] e[35m[W3C]e[39m Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:automationName":"UiAutomator2","appium:udid":"emulator-5554","appium:app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.android.activity.MainTabActivity","appium:noReset":true}]}]
[debug] e[35m[BaseDriver]e[39m Event 'newSessionRequested' logged at 1714665076394 (20:21:16 GMT+0430 (Iran Daylight Time))
[info] e[35m[Appium]e[39m Appium v1.22.3 creating new AndroidUiautomator2Driver (v1.70.1) session
[info] e[35m[Appium]e[39m Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] e[35m[BaseDriver]e[39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] e[35m[BaseDriver]e[39m Creating session with W3C capabilities: {
[debug] e[35m[BaseDriver]e[39m   "alwaysMatch": {
[debug] e[35m[BaseDriver]e[39m     "platformName": "Android",
[debug] e[35m[BaseDriver]e[39m     "appium:deviceName": "Android",
[debug] e[35m[BaseDriver]e[39m     "appium:automationName": "UiAutomator2",
[debug] e[35m[BaseDriver]e[39m     "appium:udid": "emulator-5554",
[debug] e[35m[BaseDriver]e[39m     "appium:app": "/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk",
[debug] e[35m[BaseDriver]e[39m     "appium:appPackage": "com.instagram.android",
[debug] e[35m[BaseDriver]e[39m     "appium:appActivity": "com.instagram.android.activity.MainTabActivity",
[debug] e[35m[BaseDriver]e[39m     "appium:noReset": true
[debug] e[35m[BaseDriver]e[39m   },
[debug] e[35m[BaseDriver]e[39m   "firstMatch": [
[debug] e[35m[BaseDriver]e[39m     {}
[debug] e[35m[BaseDriver]e[39m   ]
[debug] e[35m[BaseDriver]e[39m }
[info] e[35m[BaseDriver]e[39m Session created with session id: 4f6aff7f-c4f2-41c4-94c1-2acb4601d095
[info] e[35m[BaseDriver]e[39m Using local app '/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk'
[debug] e[35m[UiAutomator2]e[39m Checking whether app is actually present
[info] e[35m[ADB]e[39m Using 'adb' from '/Users/amir/Library/Android/sdk/platform-tools/adb'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 start-server'[info] e[35m[AndroidDriver]e[39m Retrieving device list
[debug] e[35m[ADB]e[39m Trying to find a connected android device
[debug] e[35m[ADB]e[39m Getting connected devices
[debug] e[35m[ADB]e[39m Connected devices: [{"udid":"emulator-5554","state":"device"}]
[info] e[35m[AndroidDriver]e[39m Using device: emulator-5554
[info] e[35m[ADB]e[39m Using 'adb' from '/Users/amir/Library/Android/sdk/platform-tools/adb'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[debug] e[35m[ADB]e[39m Setting device id to emulator-5554
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] e[35m[ADB]e[39m Current device property 'ro.build.version.sdk': 27
[debug] e[35m[ADB]e[39m Device API level: 27
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] e[35m[AndroidDriver]e[39m Pushing settings apk to device...
[debug] e[35m[ADB]e[39m Getting install status for io.appium.settings
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] e[35m[ADB]e[39m 'io.appium.settings' is installed
[debug] e[35m[ADB]e[39m Getting package info for 'io.appium.settings'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[debug] e[35m[ADB]e[39m The version code of the installed 'io.appium.settings' is greater than the application version code (75 > 30)
[debug] e[35m[ADB]e[39m There is no need to downgrade 'io.appium.settings'
[debug] e[35m[ADB]e[39m Getting IDs of all 'io.appium.settings' processes
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] e[35m[AndroidDriver]e[39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] e[35m[Logcat]e[39m Starting logs capture with command: /Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime[debug] e[35m[UiAutomator2]e[39m Forwarding UiAutomator2 Server port 6790 to local port 8221
[debug] e[35m[ADB]e[39m Forwarding system: 8221 to device: 6790
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8221 tcp:6790'
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[debug] e[35m[ADB]e[39m 'io.appium.uiautomator2.server' is installed
[debug] e[35m[ADB]e[39m Getting package info for 'io.appium.uiautomator2.server'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'[debug] e[35m[ADB]e[39m The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0')
[debug] e[35m[UiAutomator2]e[39m io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] e[35m[ADB]e[39m Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk
[debug] e[35m[ADB]e[39m Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk'
[debug] e[35m[ADB]e[39m sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.apk'
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] e[35m[ADB]e[39m 'io.appium.uiautomator2.server.test' is installed
[debug] e[35m[ADB]e[39m Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] e[35m[ADB]e[39m Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[debug] e[35m[ADB]e[39m sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[info] e[35m[UiAutomator2]e[39m Server packages are not going to be (re)installed
[debug] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for services to be available
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[debug] e[35m[UiAutomator2]e[39m Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[info] e[35m[ADB]e[39m Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] e[35m[ADB]e[39m 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] e[35m[ADB]e[39m Running '/Users/amir/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] e[35m[ADB]e[39m Checking app cert for /Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m3 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[debug] e[35m[ADB]e[39m Using the previously cached signature entry for 'Instagram_x86.apk'
[debug] e[35m[ADB]e[39m Getting install status for com.instagram.android
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.instagram.android'[debug] e[35m[ADB]e[39m 'com.instagram.android' is installed
[debug] e[35m[ADB]e[39m Getting package info for 'com.instagram.android'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.instagram.android'
[debug] e[35m[ADB]e[39m The version name of the installed 'com.instagram.android' is greater or equal to the application version name ('321.0.0' >= '321.0.0')
[debug] e[35m[ADB]e[39m There is no need to install/upgrade '/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk'
[debug] e[35m[UiAutomator2]e[39m Performing shallow cleanup of automation leftovers
[debug] e[35m[UiAutomator2]e[39m The following obsolete sessions are still running: ["811827f9-574b-4cb4-aaa8-a69d345a8e31"]
[debug] e[35m[UiAutomator2]e[39m Cleaning up 1 obsolete session[debug] e[35m[Instrumentation]e[39m .
[debug] e[35m[Instrumentation]e[39m Time: 64.205
[debug] e[35m[Instrumentation]e[39m 
[debug] e[35m[Instrumentation]e[39m OK (1 test)
[debug] e[35m[Instrumentation]e[39m The process has exited with code 0[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'[info] e[35m[UiAutomator2]e[39m Starting UIAutomator2 server 4.27.0
[info] e[35m[UiAutomator2]e[39m Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[info] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online...
[debug] e[35m[ADB]e[39m Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[Instrumentation]e[39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched '/status' to command name 'getStatus'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] e[35m[UiAutomator2]e[39m The initialization of the instrumentation process took 4268ms
[debug] e[35m[WD Proxy]e[39m Matched '/session' to command name 'createSession'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /session] to [POST http://127.0.0.1:8221/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","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"80d9ae46-26c0-46b3-9ba0...
[info] e[35m[WD Proxy]e[39m Determined the downstream protocol as 'W3C'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/device/info] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"androidId":"073d7e3f8a640364","apiVersion":"27","bluetooth":null,"brand":"samsung","carrierName":"Android","displayDensity":560,"locale":"en_US","manufacturer":"samsung","model":"SM-G9500","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":102400,"linkUpstreamBandwidthKbps":51200,"networkCapabilities":"NET_CAPABILITY_MMS,NET_CAPABILITY_SUPL,NET_CAPABILITY_DUN,NET_CAPABILITY_FOTA,NET_CAPABILITY_IMS,NET_CAPABILITY_CBS,NET_CAPABILITY_IA,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"epc.tmobile.com","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,...
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
[info] e[35m[AndroidDriver]e[39m Screen already unlocked, doing nothing
[info] e[35m[UiAutomator2]e[39m Starting 'com.instagram.android/com.instagram.android.activity.MainTabActivity and waiting for 'com.instagram.android/com.instagram.android.activity.MainTabActivity'
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.instagram.android/com.instagram.android.activity.MainTabActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/device/pixel_ratio] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":3.5}
[debug] e[35m[WD Proxy]e[39m Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/device/system_bars] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"statusBar":84}}
[debug] e[35m[WD Proxy]e[39m Matched '/window/current/size' to command name 'getWindowSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/window/current/size] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"height":2792,"width":1440}}
[info] e[35m[Appium]e[39m New AndroidUiautomator2Driver session created successfully, session 4f6aff7f-c4f2-41c4-94c1-2acb4601d095 added to master session list
[debug] e[35m[BaseDriver]e[39m Event 'newSessionStarted' logged at 1714665093102 (20:21:33 GMT+0430 (Iran Daylight Time))
[debug] e[35m[W3C (4f6aff7f)]e[39m Cached the protocol value 'W3C' for the new session 4f6aff7f-c4f2-41c4-94c1-2acb4601d095
[debug] e[35m[W3C (4f6aff7f)]e[39m 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","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554","deviceApiLevel":27,"platformVersion":"8.1.0","deviceScreenSize":"1440x2960","deviceScreenDensity":560,"deviceModel":"SM-G9500","de...
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session e[39me[32m200e[39m e[90m16710 ms - 1209e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/creation_tab"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013"}}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013","ELEMENT":"00000000-0000-0399-ffff-ffff00000013"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[32m200e[39m e[90m1704 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/creation_tab"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013"}}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013","ELEMENT":"00000000-0000-0399-ffff-ffff00000013"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[32m200e[39m e[90m502 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m5 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/creation_tab"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013"}}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013","ELEMENT":"00000000-0000-0399-ffff-ffff00000013"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[32m200e[39m e[90m364 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/performe[39m
[info] e[35m[HTTP]e[39m e[90m{"actions":[{"action":"tap","options":{"element":"00000000-0000-0399-ffff-ffff00000013","count":1}}]}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"element":"00000000-0000-0399-ffff-ffff00000013","count":1}}],"4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[info] e[35m[UiAutomator2]e[39m calling get location: 00000000-0000-0399-ffff-ffff00000013
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-0399-ffff-ffff00000013/location' to command name 'getLocation'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-0399-ffff-ffff00000013/location] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000013/location] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"x":576,"y":2617}}
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-0399-ffff-ffff00000013/size' to command name 'getSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-0399-ffff-ffff00000013/size] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000013/size] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"height":175,"width":288}}
[debug] e[35m[WD Proxy]e[39m Proxying [POST /appium/tap] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/tap] with body: {"x":720,"y":2704.5,"undefined":null}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.performTouch() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/perform e[39me[32m200e[39m e[90m1281 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397"}}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397","ELEMENT":"00000000-0000-0399-ffff-ffff00000397"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[32m200e[39m e[90m3209 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elementse[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElements() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/elements' to command name 'findElements'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /elements] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/elements] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":true}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":[{"ELEMENT":"00000000-0000-0399-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397"},{"ELEMENT":"00000000-0000-0399-ffff-ffff0000039a","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000039a"}]}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397","ELEMENT":"00000000-0000-0399-ffff-ffff00000397"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000039a","ELEMENT":"00000000-0000-0399-ffff-ffff0000039a"}]
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elements e[39me[32m200e[39m e[90m1614 ms - 267e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/performe[39m
[info] e[35m[HTTP]e[39m e[90m{"actions":[{"action":"press","options":{"element":"00000000-0000-0399-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5614}},{"action":"release","options":{}}]}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"element":"00000000-0000-0399-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5614}},{"action":"release","options":{}}],"4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[info] e[35m[UiAutomator2]e[39m calling get location: 00000000-0000-0399-ffff-ffff00000397
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-0399-ffff-ffff00000397/location' to command name 'getLocation'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-0399-ffff-ffff00000397/location] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000397/location] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"x":0,"y":1823}}
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-0399-ffff-ffff00000397/size' to command name 'getSize'
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/00000000-0000-0399-ffff-ffff00000397/size] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000397/size] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"height":356,"width":356}}
[debug] e[35m[WD Proxy]e[39m Matched '/touch/down' to command name 'touchDown'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /touch/down] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/touch/down] with body: {"params":{"element":null,"x":178,"y":2001}}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m2 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[debug] e[35m[WD Proxy]e[39m Matched '/touch/up' to command name 'touchUp'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /touch/up] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/touch/up] with body: {"params":{"x":178,"y":2001}}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.performTouch() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/perform e[39me[32m200e[39m e[90m7314 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element/00000000-0000-0399-ffff-ffff0000039a/clicke[39m
[info] e[35m[HTTP]e[39m e[90m{"id":"00000000-0000-0399-ffff-ffff0000039a"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.click() with args: ["00000000-0000-0399-ffff-ffff0000039a","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[WD Proxy]e[39m Matched '/element/00000000-0000-0399-ffff-ffff0000039a/click' to command name 'click'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/00000000-0000-0399-ffff-ffff0000039a/click] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff0000039a/click] with body: {"element":"00000000-0000-0399-ffff-ffff0000039a"}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element/00000000-0000-0399-ffff-ffff0000039a/click e[39me[32m200e[39m e[90m1092 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/next_button_textview"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000021c"}}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000021c","ELEMENT":"00000000-0000-0399-ffff-ffff0000021c"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[32m200e[39m e[90m72 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[warn] e[35m[BaseDriver]e[39m Shutting down because we waited 60 seconds for a command
[warn] e[35m[Appium]e[39m Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] e[35m[Appium]e[39m Removing session 'bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72' from our master session list
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 session
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 server session
[warn] e[35m[UiAutomator2]e[39m Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.instagram.android'
[debug] e[35m[Logcat]e[39m Stopping logcat capture
[debug] e[35m[ADB]e[39m Removing forwarded port socket connection: 8218 
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8218'[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/next_button_textview"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}
[info] e[35m[WD Proxy]e[39m Got response with status 404: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:266)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:260)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[debug] e[35m[W3C]e[39m Matched W3C error code 'no such element' to NoSuchElementError
[debug] e[35m[W3C (4f6aff7f)]e[39m Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
[debug] e[35m[W3C (4f6aff7f)]e[39m     at AndroidUiautomator2Driver.findElOrEls (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11)
[debug] e[35m[W3C (4f6aff7f)]e[39m     at runMicrotasks (<anonymous>)
[debug] e[35m[W3C (4f6aff7f)]e[39m     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[debug] e[35m[W3C (4f6aff7f)]e[39m     at AndroidUiautomator2Driver.findElOrElsWithProcessing (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:33:12)
[debug] e[35m[W3C (4f6aff7f)]e[39m     at AndroidUiautomator2Driver.findElement (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:53:10)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[33m404e[39m e[90m34 ms - 948e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m3 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (907a9c86)]e[39m Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[debug] e[35m[W3C (907a9c86)]e[39m     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[debug] e[35m[W3C (907a9c86)]e[39m     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[debug] e[35m[W3C (907a9c86)]e[39m     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[debug] e[35m[W3C (907a9c86)]e[39m     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[debug] e[35m[W3C (907a9c86)]e[39m     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts e[39me[33m404e[39m e[90m2 ms - 4390e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[W3C (bc010d7c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013","ELEMENT":"00000000-0000-038a-ffff-ffff00000013"}
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element 200 2512 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element
[HTTP] {"using":"id","value":"com.instagram.android:id/creation_tab"}
[W3C (bc010d7c)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013"}}
[W3C (bc010d7c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013","ELEMENT":"00000000-0000-038a-ffff-ffff00000013"}
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element 200 1494 ms - 137
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element
[HTTP] {"using":"id","value":"com.instagram.android:id/creation_tab"}
[W3C (bc010d7c)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013"}}
[W3C (bc010d7c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000013","ELEMENT":"00000000-0000-038a-ffff-ffff00000013"}
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element 200 469 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform
[HTTP] {"actions":[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff00000013","count":1}}]}
[W3C (bc010d7c)] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff00000013","count":1}}],"bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[UiAutomator2] calling get location: 00000000-0000-038a-ffff-ffff00000013
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff00000013/location' to command name 'getLocation'
[WD Proxy] Proxying [GET /element/00000000-0000-038a-ffff-ffff00000013/location] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000013/location] with no body
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"x":576,"y":2617}}
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff00000013/size' to command name 'getSize'
[WD Proxy] Proxying [GET /element/00000000-0000-038a-ffff-ffff00000013/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000013/size] with no body
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":175,"width":288}}
[WD Proxy] Proxying [POST /appium/tap] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/tap] with body: {"x":720,"y":2704.5,"undefined":null}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[W3C (bc010d7c)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform 200 353 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element
[HTTP] {"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}
[W3C (bc010d7c)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397"}}
[W3C (bc010d7c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397","ELEMENT":"00000000-0000-038a-ffff-ffff00000397"}
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element 200 3677 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elements
[HTTP] {"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}
[W3C (bc010d7c)] Calling AppiumDriver.findElements() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/elements' to command name 'findElements'
[WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/elements] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":true}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":[{"ELEMENT":"00000000-0000-038a-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397"},{"ELEMENT":"00000000-0000-038a-ffff-ffff0000039a","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000039a"}]}
[W3C (bc010d7c)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff00000397","ELEMENT":"00000000-0000-038a-ffff-ffff00000397"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000039a","ELEMENT":"00000000-0000-038a-ffff-ffff0000039a"}]
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/elements 200 568 ms - 267
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform
[HTTP] {"actions":[{"action":"press","options":{"element":"00000000-0000-038a-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5840}},{"action":"release","options":{}}]}
[W3C (bc010d7c)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"element":"00000000-0000-038a-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5840}},{"action":"release","options":{}}],"bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[UiAutomator2] calling get location: 00000000-0000-038a-ffff-ffff00000397
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff00000397/location' to command name 'getLocation'
[WD Proxy] Proxying [GET /element/00000000-0000-038a-ffff-ffff00000397/location] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000397/location] with no body
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"x":0,"y":1823}}
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff00000397/size' to command name 'getSize'
[WD Proxy] Proxying [GET /element/00000000-0000-038a-ffff-ffff00000397/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff00000397/size] with no body
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":356,"width":356}}
[WD Proxy] Matched '/touch/down' to command name 'touchDown'
[WD Proxy] Proxying [POST /touch/down] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/touch/down] with body: {"params":{"element":null,"x":178,"y":2001}}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[WD Proxy] Matched '/touch/up' to command name 'touchUp'
[WD Proxy] Proxying [POST /touch/up] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/touch/up] with body: {"params":{"x":178,"y":2001}}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[W3C (bc010d7c)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform 200 8742 ms - 14
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element/00000000-0000-038a-ffff-ffff0000039a/click
[HTTP] {"id":"00000000-0000-038a-ffff-ffff0000039a"}
[W3C (bc010d7c)] Calling AppiumDriver.click() with args: ["00000000-0000-038a-ffff-ffff0000039a","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff0000039a/click' to command name 'click'
[WD Proxy] Proxying [POST /element/00000000-0000-038a-ffff-ffff0000039a/click] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff0000039a/click] with body: {"element":"00000000-0000-038a-ffff-ffff0000039a"}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[W3C (bc010d7c)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element/00000000-0000-038a-ffff-ffff0000039a/click 200 55 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element
[HTTP] {"using":"id","value":"com.instagram.android:id/next_button_textview"}
[W3C (bc010d7c)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c"}}
[W3C (bc010d7c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c","ELEMENT":"00000000-0000-038a-ffff-ffff0000021c"}
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element 200 684 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element
[HTTP] {"using":"id","value":"com.instagram.android:id/next_button_textview"}
[W3C (bc010d7c)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"ELEMENT":"00000000-0000-038a-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c"}}
[W3C (bc010d7c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-038a-ffff-ffff0000021c","ELEMENT":"00000000-0000-038a-ffff-ffff0000021c"}
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/element 200 975 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform
[HTTP] {"actions":[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff0000021c","count":1}}]}
[W3C (bc010d7c)] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"element":"00000000-0000-038a-ffff-ffff0000021c","count":1}}],"bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72"]
[UiAutomator2] calling get location: 00000000-0000-038a-ffff-ffff0000021c
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff0000021c/location' to command name 'getLocation'
[WD Proxy] Proxying [GET /element/00000000-0000-038a-ffff-ffff0000021c/location] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff0000021c/location] with no body
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"x":1239,"y":0}}
[WD Proxy] Matched '/element/00000000-0000-038a-ffff-ffff0000021c/size' to command name 'getSize'
[WD Proxy] Proxying [GET /element/00000000-0000-038a-ffff-ffff0000021c/size] to [GET http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/element/00000000-0000-038a-ffff-ffff0000021c/size] with no body
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":{"height":196,"width":201}}
[WD Proxy] Proxying [POST /appium/tap] to [POST http://127.0.0.1:8218/wd/hub/session/811827f9-574b-4cb4-aaa8-a69d345a8e31/appium/tap] with body: {"x":1339.5,"y":98,"undefined":null}
[WD Proxy] Got response with status 200: {"sessionId":"811827f9-574b-4cb4-aaa8-a69d345a8e31","value":null}
[W3C (bc010d7c)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72/touch/perform 200 232 ms - 14
[HTTP] 
[HTTP] Request idempotency key: dff46b7e-5018-45cc-95d7-94353eb082ae
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:automationName":"UiAutomator2","appium:udid":"emulator-5554","appium:app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.android.activity.MainTabActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true}}
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:automationName":"UiAutomator2","appium:udid":"emulator-5554","appium:app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.android.activity.MainTabActivity","appium:noReset":true}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1714665076394 (20:21:16 GMT+0430 (Iran Daylight Time))
[Appium] Appium v1.22.3 creating new AndroidUiautomator2Driver (v1.70.1) 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
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver]   "alwaysMatch": {
[BaseDriver]     "platformName": "Android",
[BaseDriver]     "appium:deviceName": "Android",
[BaseDriver]     "appium:automationName": "UiAutomator2",
[BaseDriver]     "appium:udid": "emulator-5554",
[BaseDriver]     "appium:app": "/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk",
[BaseDriver]     "appium:appPackage": "com.instagram.android",
[BaseDriver]     "appium:appActivity": "com.instagram.android.activity.MainTabActivity",
[BaseDriver]     "appium:noReset": true
[BaseDriver]   },
[BaseDriver]   "firstMatch": [
[BaseDriver]     {}
[BaseDriver]   ]
[BaseDriver] }
[BaseDriver] Session created with session id: 4f6aff7f-c4f2-41c4-94c1-2acb4601d095
[BaseDriver] Using local app '/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk'
[UiAutomator2] Checking whether app is actually present
[ADB] Using 'adb' from '/Users/amir/Library/Android/sdk/platform-tools/adb'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[AndroidDriver] Using device: emulator-5554
[ADB] Using 'adb' from '/Users/amir/Library/Android/sdk/platform-tools/adb'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[ADB] Setting device id to emulator-5554
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 27
[ADB] Device API level: 27
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (75 > 30)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[Logcat] Starting logs capture with command: /Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8221
[ADB] Forwarding system: 8221 to device: 6790
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8221 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[ADB] 'io.appium.uiautomator2.server' is installed
[ADB] Getting package info for 'io.appium.uiautomator2.server'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0')
[UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Server packages are not going to be (re)installed
[UiAutomator2] Waiting up to 30000ms for services to be available
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'
[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
[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",";"]]
[ADB] Running '/Users/amir/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 ;'
[ADB] Checking app cert for /Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[ADB] Using the previously cached signature entry for 'Instagram_x86.apk'
[ADB] Getting install status for com.instagram.android
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.instagram.android'
[ADB] 'com.instagram.android' is installed
[ADB] Getting package info for 'com.instagram.android'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.instagram.android'
[ADB] The version name of the installed 'com.instagram.android' is greater or equal to the application version name ('321.0.0' >= '321.0.0')
[ADB] There is no need to install/upgrade '/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk'
[UiAutomator2] Performing shallow cleanup of automation leftovers
[UiAutomator2] The following obsolete sessions are still running: ["811827f9-574b-4cb4-aaa8-a69d345a8e31"]
[UiAutomator2] Cleaning up 1 obsolete session
[Instrumentation] .
[Instrumentation] Time: 64.205
[Instrumentation] 
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[ADB] Running '/Users/amir/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.27.0
[UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/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...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[WD Proxy] socket hang up
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[WD Proxy] socket hang up
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[WD Proxy] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[WD Proxy] socket hang up
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8221/wd/hub/status] with no body
[WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[UiAutomator2] The initialization of the instrumentation process took 4268ms
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8221/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","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"80d9ae46-26c0-46b3-9ba0...
[WD Proxy] Determined the downstream protocol as 'W3C'
[WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/device/info] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"androidId":"073d7e3f8a640364","apiVersion":"27","bluetooth":null,"brand":"samsung","carrierName":"Android","displayDensity":560,"locale":"en_US","manufacturer":"samsung","model":"SM-G9500","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":102400,"linkUpstreamBandwidthKbps":51200,"networkCapabilities":"NET_CAPABILITY_MMS,NET_CAPABILITY_SUPL,NET_CAPABILITY_DUN,NET_CAPABILITY_FOTA,NET_CAPABILITY_IMS,NET_CAPABILITY_CBS,NET_CAPABILITY_IA,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"epc.tmobile.com","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,...
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] Starting 'com.instagram.android/com.instagram.android.activity.MainTabActivity and waiting for 'com.instagram.android/com.instagram.android.activity.MainTabActivity'
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.instagram.android/com.instagram.android.activity.MainTabActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/device/pixel_ratio] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":3.5}
[WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/device/system_bars] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"statusBar":84}}
[WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/window/current/size] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"height":2792,"width":1440}}
[Appium] New AndroidUiautomator2Driver session created successfully, session 4f6aff7f-c4f2-41c4-94c1-2acb4601d095 added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1714665093102 (20:21:33 GMT+0430 (Iran Daylight Time))
[W3C (4f6aff7f)] Cached the protocol value 'W3C' for the new session 4f6aff7f-c4f2-41c4-94c1-2acb4601d095
[W3C (4f6aff7f)] 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","deviceName":"Android","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true},"platformName":"Android","deviceName":"emulator-5554","automationName":"UiAutomator2","udid":"emulator-5554","app":"/Users/amir/Documents/07-Affiliate/Robots-Instagram-with-Appium/FileAPK/Instagram_x86.apk","appPackage":"com.instagram.android","appActivity":"com.instagram.android.activity.MainTabActivity","noReset":true,"deviceUDID":"emulator-5554","deviceApiLevel":27,"platformVersion":"8.1.0","deviceScreenSize":"1440x2960","deviceScreenDensity":560,"deviceModel":"SM-G9500","de...
[HTTP] <-- POST /wd/hub/session 200 16710 ms - 1209
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element
[HTTP] {"using":"id","value":"com.instagram.android:id/creation_tab"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013"}}
[W3C (4f6aff7f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013","ELEMENT":"00000000-0000-0399-ffff-ffff00000013"}
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element 200 1704 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element
[HTTP] {"using":"id","value":"com.instagram.android:id/creation_tab"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013"}}
[W3C (4f6aff7f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013","ELEMENT":"00000000-0000-0399-ffff-ffff00000013"}
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element 200 502 ms - 137
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 5 ms - 4390
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element
[HTTP] {"using":"id","value":"com.instagram.android:id/creation_tab"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/creation_tab","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/creation_tab","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000013","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013"}}
[W3C (4f6aff7f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000013","ELEMENT":"00000000-0000-0399-ffff-ffff00000013"}
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element 200 364 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/perform
[HTTP] {"actions":[{"action":"tap","options":{"element":"00000000-0000-0399-ffff-ffff00000013","count":1}}]}
[W3C (4f6aff7f)] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"element":"00000000-0000-0399-ffff-ffff00000013","count":1}}],"4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[UiAutomator2] calling get location: 00000000-0000-0399-ffff-ffff00000013
[WD Proxy] Matched '/element/00000000-0000-0399-ffff-ffff00000013/location' to command name 'getLocation'
[WD Proxy] Proxying [GET /element/00000000-0000-0399-ffff-ffff00000013/location] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000013/location] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"x":576,"y":2617}}
[WD Proxy] Matched '/element/00000000-0000-0399-ffff-ffff00000013/size' to command name 'getSize'
[WD Proxy] Proxying [GET /element/00000000-0000-0399-ffff-ffff00000013/size] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000013/size] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"height":175,"width":288}}
[WD Proxy] Proxying [POST /appium/tap] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/appium/tap] with body: {"x":720,"y":2704.5,"undefined":null}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[W3C (4f6aff7f)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/perform 200 1281 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element
[HTTP] {"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397"}}
[W3C (4f6aff7f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397","ELEMENT":"00000000-0000-0399-ffff-ffff00000397"}
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element 200 3209 ms - 137
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elements
[HTTP] {"using":"id","value":"com.instagram.android:id/gallery_picker_grid_item_container"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElements() with args: ["id","com.instagram.android:id/gallery_picker_grid_item_container","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/elements' to command name 'findElements'
[WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/elements] with body: {"strategy":"id","selector":"com.instagram.android:id/gallery_picker_grid_item_container","context":"","multiple":true}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":[{"ELEMENT":"00000000-0000-0399-ffff-ffff00000397","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397"},{"ELEMENT":"00000000-0000-0399-ffff-ffff0000039a","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000039a"}]}
[W3C (4f6aff7f)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff00000397","ELEMENT":"00000000-0000-0399-ffff-ffff00000397"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000039a","ELEMENT":"00000000-0000-0399-ffff-ffff0000039a"}]
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elements 200 1614 ms - 267
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/perform
[HTTP] {"actions":[{"action":"press","options":{"element":"00000000-0000-0399-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5614}},{"action":"release","options":{}}]}
[W3C (4f6aff7f)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"element":"00000000-0000-0399-ffff-ffff00000397"}},{"action":"wait","options":{"ms":5614}},{"action":"release","options":{}}],"4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[UiAutomator2] calling get location: 00000000-0000-0399-ffff-ffff00000397
[WD Proxy] Matched '/element/00000000-0000-0399-ffff-ffff00000397/location' to command name 'getLocation'
[WD Proxy] Proxying [GET /element/00000000-0000-0399-ffff-ffff00000397/location] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000397/location] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"x":0,"y":1823}}
[WD Proxy] Matched '/element/00000000-0000-0399-ffff-ffff00000397/size' to command name 'getSize'
[WD Proxy] Proxying [GET /element/00000000-0000-0399-ffff-ffff00000397/size] to [GET http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff00000397/size] with no body
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"height":356,"width":356}}
[WD Proxy] Matched '/touch/down' to command name 'touchDown'
[WD Proxy] Proxying [POST /touch/down] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/touch/down] with body: {"params":{"element":null,"x":178,"y":2001}}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[WD Proxy] Matched '/touch/up' to command name 'touchUp'
[WD Proxy] Proxying [POST /touch/up] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/touch/up] with body: {"params":{"x":178,"y":2001}}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[W3C (4f6aff7f)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/touch/perform 200 7314 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element/00000000-0000-0399-ffff-ffff0000039a/click
[HTTP] {"id":"00000000-0000-0399-ffff-ffff0000039a"}
[W3C (4f6aff7f)] Calling AppiumDriver.click() with args: ["00000000-0000-0399-ffff-ffff0000039a","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[WD Proxy] Matched '/element/00000000-0000-0399-ffff-ffff0000039a/click' to command name 'click'
[WD Proxy] Proxying [POST /element/00000000-0000-0399-ffff-ffff0000039a/click] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff0000039a/click] with body: {"element":"00000000-0000-0399-ffff-ffff0000039a"}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[W3C (4f6aff7f)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element/00000000-0000-0399-ffff-ffff0000039a/click 200 1092 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element
[HTTP] {"using":"id","value":"com.instagram.android:id/next_button_textview"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000021c"}}
[W3C (4f6aff7f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000021c","ELEMENT":"00000000-0000-0399-ffff-ffff0000021c"}
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element 200 72 ms - 137
[HTTP] 
[BaseDriver] Shutting down because we waited 60 seconds for a command
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 'bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72' from our master session list
[UiAutomator2] Deleting UiAutomator2 session
[UiAutomator2] Deleting UiAutomator2 server session
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.instagram.android'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8218 
[ADB] Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8218'
[HTTP] --> POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element
[HTTP] {"using":"id","value":"com.instagram.android:id/next_button_textview"}
[W3C (4f6aff7f)] Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}
[WD Proxy] Got response with status 404: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:266)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:260)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[W3C (4f6aff7f)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
[W3C (4f6aff7f)]     at AndroidUiautomator2Driver.findElOrEls (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11)
[W3C (4f6aff7f)]     at runMicrotasks ()
[W3C (4f6aff7f)]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[W3C (4f6aff7f)]     at AndroidUiautomator2Driver.findElOrElsWithProcessing (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:33:12)
[W3C (4f6aff7f)]     at AndroidUiautomator2Driver.findElement (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:53:10)
[HTTP] <-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element 404 34 ms - 948
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 2 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 4 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 
[HTTP] --> GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts
[HTTP] {}
[W3C (907a9c86)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
[W3C (907a9c86)]     at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:243:15)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:423:15
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
[W3C (907a9c86)]     at Route.dispatch (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
[W3C (907a9c86)]     at param (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at logger (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at jsonParser (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/types/json.js:110:7)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[W3C (907a9c86)]     at Layer.handle [as handle_request] (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:91:12)
[W3C (907a9c86)]     at trim_prefix (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
[W3C (907a9c86)]     at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
[W3C (907a9c86)]     at Function.process_params (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
[W3C (907a9c86)]     at next (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
[HTTP] <-- GET /wd/hub/session/907a9c86-24c9-48e8-84e8-8b9e6100ef79/timeouts 404 3 ms - 4390
[HTTP] 

Could be that updating to Appium 2 would improve things. Appium 1 is hopelessly out of date.

But still recommend checking logcat to see if app itself is crashing.

This section is more specifically related to Logcat, I can’t figure out exactly what is causing the error!!!

[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/00000000-0000-0399-ffff-ffff0000039a/click] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element/00000000-0000-0399-ffff-ffff0000039a/click] with body: {"element":"00000000-0000-0399-ffff-ffff0000039a"}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":null}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element/00000000-0000-0399-ffff-ffff0000039a/click e[39me[32m200e[39m e[90m1092 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/next_button_textview"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 0 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched '/element' to command name 'findElement'
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8221/wd/hub/session/80d9ae46-26c0-46b3-9ba0-42d41774e09c/element] with body: {"strategy":"id","selector":"com.instagram.android:id/next_button_textview","context":"","multiple":false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {"sessionId":"80d9ae46-26c0-46b3-9ba0-42d41774e09c","value":{"ELEMENT":"00000000-0000-0399-ffff-ffff0000021c","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000021c"}}
[debug] e[35m[W3C (4f6aff7f)]e[39m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0399-ffff-ffff0000021c","ELEMENT":"00000000-0000-0399-ffff-ffff0000021c"}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/element e[39me[32m200e[39m e[90m72 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[warn] e[35m[BaseDriver]e[39m Shutting down because we waited 60 seconds for a command
[warn] e[35m[Appium]e[39m Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] e[35m[Appium]e[39m Removing session 'bc010d7c-2a97-4eb7-a9e5-a985ea3b6c72' from our master session list
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 session
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 server session
[warn] e[35m[UiAutomator2]e[39m Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.instagram.android'
[debug] e[35m[Logcat]e[39m Stopping logcat capture
[debug] e[35m[ADB]e[39m Removing forwarded port socket connection: 8218 
[debug] e[35m[ADB]e[39m Running '/Users/amir/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8218'[info] e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/session/4f6aff7f-c4f2-41c4-94c1-2acb4601d095/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{"using":"id","value":"com.instagram.android:id/next_button_textview"}e[39m
[debug] e[35m[W3C (4f6aff7f)]e[39m Calling AppiumDriver.findElement() with args: ["id","com.instagram.android:id/next_button_textview","4f6aff7f-c4f2-41c4-94c1-2acb4601d095"]

Getting a timeout finding an element because no response from app. Probably crashed.

If no response from app, Appium will timeout and shutdown. Expected behavior.

Possibilities to try:

  1. update to Appium 2 – probably should do this anyway
  2. try with earlier version of Instagram. See if bug is regression
  3. report bug. Try to get it fixed