Appium iOS Testing - 'getPageSource' and 'Requesting snapshot of accessibility hierarchy' get stuck and fail to retrieve the App Source

Problem

My tests get stuck when trying to access UI-Elements at a certain point in my app. ‘getPageSource’ and ‘Requesting snapshot of accessibility hierarchy’ are displayed for long times without results.
I launch my App which uses Cocoapods in simulator using the Appium Desktop Inspector Session or by building my test suite with gradle to actually run the tests.
What makes it very strange: In some cases the UI hierarchy is accessible and the tests are able to continue. I unfortunately don’t find any pattern.
One idea was to turn off waitForQuiescence to prevent Appium from waiting for the apps idle. But this led to my status quo where sometimes the UI-Elements are retrieved - and sometimes not

Environment

  • Appium version (or git revision) that exhibits the issue: 1.18.3
  • Desktop OS/version used to run Appium: macOS Catalina 10.15.7
  • Node.js version (unless using Appium.app|exe): 15.1.0
  • Mobile platform/version under test: IOS 14.2
  • Simulator
  • Xcode 12.2
  • Desired Capabilities for the Inspector Session:
{
  "app": "my.app.identifier",
  "automationName": "XCUITest",
  "deviceName": "iPhone 12",
  "platformName": "iOS",
  "useJSONSource": true,
  "waitForQuiescence": false
}

Log

WebDriverAgent] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid '3340160B-395B-4A8D-B182-9753E5B2E124' is not running
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOS] Setting did not need to be updated
[iOSSim] Setting preferences of 3340160B-395B-4A8D-B182-9753E5B2E124 Simulator to {"ConnectHardwareKeyboard":true}
[iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":true}
[iOSSim] Updated 3340160B-395B-4A8D-B182-9753E5B2E124 Simulator preferences at '/Users/user/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"3340160B-395B-4A8D-B182-9753E5B2E124":{"ConnectHardwareKeyboard":true}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":true}
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args - 33 -RotateWindowWhenSignaledByGuest 1 -ConnectHardwareKeyboard 1 -PasteboardAutomaticSync 0
[iOSSim] Booting Simulator with UDID '3340160B-395B-4A8D-B182-9753E5B2E124'...
[simctl] Error running 'boot': An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
Unable to boot device in current state: Booted
[simctl] Error running 'boot': An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
Unable to boot device in current state: Booted
[WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/user/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products'
[WebDriverAgent] Got derived data root: '/Users/user/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp'
[simctl] Error running 'boot': An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
Unable to boot device in current state: Booted
[iOSSim] Error running 'boot': An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
[iOSSim] Unable to boot device in current state: Booted
[iOSSim] Simulator with UDID 3340160B-395B-4A8D-B182-9753E5B2E124 booted in 7.914s
[BaseDriver] Event 'simStarted' logged at 1607082889967 (12:54:49 GMT+0100 (Mitteleuropäische Normalzeit))
[IOSSimulatorLog] Starting log capture for iOS Simulator with udid '3340160B-395B-4A8D-B182-9753E5B2E124' using simctl
[BaseDriver] Event 'logCaptureStarted' logged at 1607082890773 (12:54:50 GMT+0100 (Mitteleuropäische Normalzeit))
[WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device 3340160B-395B-4A8D-B182-9753E5B2E124 on local port 8100
[DevCon Factory] Cached connections count: 1
[DevCon Factory] Found cached connections on port #8100: ["3340160B-395B-4A8D-B182-9753E5B2E124:8100"]
[DevCon Factory] Successfully requested the connection for 3340160B-395B-4A8D-B182-9753E5B2E124:8100
[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
[WebDriverAgent] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[BaseDriver] Event 'wdaStartAttempted' logged at 1607082891145 (12:54:51 GMT+0100 (Mitteleuropäische Normalzeit))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[WebDriverAgent] Killing running processes 'xcodebuild.*3340160B-395B-4A8D-B182-9753E5B2E124, 3340160B-395B-4A8D-B182-9753E5B2E124.*XCTRunner, xctest.*3340160B-395B-4A8D-B182-9753E5B2E124' for the device 3340160B-395B-4A8D-B182-9753E5B2E124...
[WebDriverAgent] 'pgrep -if xctest.*3340160B-395B-4A8D-B182-9753E5B2E124' didn't detect any matching processes. Return code: 1
[WebDriverAgent] 'pgrep -if 3340160B-395B-4A8D-B182-9753E5B2E124.*XCTRunner' didn't detect any matching processes. Return code: 1
[WebDriverAgent] xcodebuild exited with code '75' and signal 'null'
[WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/user/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp -destination id=3340160B-395B-4A8D-B182-9753E5B2E124 IPHONEOS_DEPLOYMENT_TARGET=14.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent'
[WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WebDriverAgent] Log file for xcodebuild test: /Users/user/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.12.04_12-54-53-+0100.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-3E8B96C1-5BF6-41F0-B969-ACE41B0A069A/WebDriverAgentRunner-B4BC0325-DD31-437B-9E5C-7623DCB36FCB/Session-WebDriverAgentRunner-2020-12-04_125455-35cKT3.log
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"14.2","version":"14.2"},"ios":{"simulatorVersion":"14.2","ip":"192.168.2.128"},"ready":true,"build":{"upgradedAt":"1604928038230","time":"Dec  4 2020 11:09:53","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null}
[WebDriverAgent] WebDriverAgent information:
[WebDriverAgent] {
[WebDriverAgent]   "message": "WebDriverAgent is ready to accept commands",
[WebDriverAgent]   "state": "success",
[WebDriverAgent]   "os": {
[WebDriverAgent]     "testmanagerdVersion": 28,
[WebDriverAgent]     "name": "iOS",
[WebDriverAgent]     "sdkVersion": "14.2",
[WebDriverAgent]     "version": "14.2"
[WebDriverAgent]   },
[WebDriverAgent]   "ios": {
[WebDriverAgent]     "simulatorVersion": "14.2",
[WebDriverAgent]     "ip": "192.168.2.128"
[WebDriverAgent]   },
[WebDriverAgent]   "ready": true,
[WebDriverAgent]   "build": {
[WebDriverAgent]     "upgradedAt": "1604928038230",
[WebDriverAgent]     "time": "Dec  4 2020 11:09:53",
[WebDriverAgent]     "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[WebDriverAgent]   }
[WebDriverAgent] }
[WebDriverAgent] WebDriverAgent successfully started after 8073ms
[BaseDriver] Event 'wdaSessionAttempted' logged at 1607082899413 (12:54:59 GMT+0100 (Mitteleuropäische Normalzeit))
[XCUITest] Sending createSession command to WDA
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"de.myappname.example.AppName.alpha","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}
[WD Proxy] Got response with status 200: {"value":{"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4","capabilities":{"device":"iphone","browserName":"AppName Alpha","sdkVersion":"14.2","CFBundleIdentifier":"de.myappname.example.AppName.alpha"}},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[BaseDriver] Event 'wdaSessionStarted' logged at 1607082901319 (12:55:01 GMT+0100 (Mitteleuropäische Normalzeit))
[BaseDriver] Event 'wdaStarted' logged at 1607082901319 (12:55:01 GMT+0100 (Mitteleuropäische Normalzeit))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[BaseDriver] Event 'orientationSet' logged at 1607082901319 (12:55:01 GMT+0100 (Mitteleuropäische Normalzeit))
[WD Proxy] Matched '/appium/settings' to command name 'updateSettings'
[WD Proxy] Proxying [POST /appium/settings] to [POST http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/appium/settings] with body: {"settings":{"useJSONSource":true}}
[WD Proxy] Got response with status 200: {"value":{"boundElementsByIndex":false,"shouldUseCompactResponses":true,"mjpegServerFramerate":10,"snapshotMaxDepth":50,"screenshotOrientation":"auto","activeAppDetectionPoint":"64.00,64.00","acceptAlertButtonSelector":"","snapshotTimeout":15,"elementResponseAttributes":"type,label","keyboardPrediction":0,"screenshotQuality":1,"keyboardAutocorrection":0,"useFirstMatch":false,"reduceMotion":false,"defaultActiveApplication":"auto","mjpegScalingFactor":100,"mjpegServerScreenshotQuality":25,"dismissAlertButtonSelector":"","includeNonModalElements":false},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it
[BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it
[Appium] New XCUITestDriver session created successfully, session 2cd4201f-50c5-4dd5-8196-d654836dbb39 added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1607082901334 (12:55:01 GMT+0100 (Mitteleuropäische Normalzeit))
[MJSONWP (2cd4201f)] Cached the protocol value 'MJSONWP' for the new session 2cd4201f-50c5-4dd5-8196-d654836dbb39
[MJSONWP (2cd4201f)] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"app":"de.myappname.example.AppName.alpha","automationName":"XCUITest","deviceName":"iPhone 12","platformName":"ios","useJSONSource":true,"waitForQuiescence":false,"newCommandTimeout":0,"connectHardwareKeyboard":true,"udid":"3340160B-395B-4A8D-B182-9753E5B2E124"}
[HTTP] <-- POST /wd/hub/session 200 20188 ms - 544
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/contexts
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getContexts() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getContexts'
[XCUITest] Getting list of available contexts
[iOS] Retrieving contexts and views
[XCUITest] Selecting by url: false 
[RemoteDebugger] Remote Debugger version 8.13.1
[RemoteDebugger] useNewSafari --> false
[RemoteDebugger] Checking which communication style to use (non-Safari on platform version '14.2')
[RemoteDebugger] Platform version equal or higher than '12.2': true
[RemoteDebugger] Setting communication protocol: using Target-based communication
[RemoteDebugger] Connecting to remote debugger through unix domain socket: '/private/tmp/com.apple.launchd.caCHEg3UPO/com.apple.webinspectord_sim.socket'
[RemoteDebugger] Debugger socket connected
[RemoteDebugger] Sending connection key request
[RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 0): 'setConnectionKey'
[RemoteDebugger] Sending to Web Inspector took 4ms
[RemoteDebugger] Sending connection key request
[RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 2): 'setConnectionKey'
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Selecting application
[RemoteDebugger] No applications currently connected.
[XCUITest] No web frames found.
[MJSONWP (2cd4201f)] Responding to client with driver.getContexts() result: ["NATIVE_APP"]
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/contexts 200 44 ms - 86
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/context
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getCurrentContext() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getCurrentContext'
[MJSONWP (2cd4201f)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/context 200 2 ms - 84
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getSession() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getSession'
[WD Proxy] Matched '/' to command name 'getSession'
[WD Proxy] Proxying [GET /] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4] with no body
[WD Proxy] Got response with status 200: {"value":{"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4","capabilities":{"device":"iphone","browserName":"AppName Alpha","sdkVersion":"14.2","CFBundleIdentifier":"de.myappname.example.AppName.alpha"}},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[WD Proxy] Proxying [GET /wda/screen] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/wda/screen] with no body
[WD Proxy] Got response with status 200: {"value":{"statusBarSize":{"width":390,"height":47},"scale":3},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[WD Proxy] Proxying [GET /window/size] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/window/size] with no body
[WD Proxy] Got response with status 200: {"value":{"width":390,"height":844},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[XCUITest] Merging WDA caps over Appium caps for session detail response
[MJSONWP (2cd4201f)] Responding to client with driver.getSession() result: {"udid":"3340160B-395B-4A8D-B182-9753E5B2E124","app":"de.myappname.example.AppName.alpha","automationName":"XCUITest","deviceName":"iPhone 12","platformName":"ios","useJSONSource":true,"waitForQuiescence":false,"newCommandTimeout":0,"connectHardwareKeyboard":true,"device":"iphone","browserName":"AppName Alpha","sdkVersion":"14.2","CFBundleIdentifier":"de.myappname.example.AppName.alpha","pixelRatio":3,"statBarHeight":47,"viewportRect":{"left":0,"top":141,"width":1170,"height":2391}}
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39 200 226 ms - 589
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/window/current/size
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getWindowSize() with args: ["current","2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getWindowSize'
[WD Proxy] Proxying [GET /window/size] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/window/size] with no body
[WD Proxy] Got response with status 200: {"value":{"width":390,"height":844},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[MJSONWP (2cd4201f)] Responding to client with driver.getWindowSize() result: {"width":390,"height":844}
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/window/current/size 200 27 ms - 98
[HTTP] 
[HTTP] --> POST /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/execute
[HTTP] {"script":"mobile:getContexts","args":[]}
[MJSONWP (2cd4201f)] Calling AppiumDriver.execute() with args: ["mobile:getContexts",[],"2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'execute'
[XCUITest] Getting list of available contexts
[iOS] Retrieving contexts and views
[XCUITest] Selecting by url: false 
[RemoteDebugger] Sending connection key request
[RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 4): 'setConnectionKey'
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Selecting application
[RemoteDebugger] No applications currently connected.
[XCUITest] No web frames found.
[XCUITest] No webviews found in 2ms
[MJSONWP (2cd4201f)] Responding to client with driver.execute() result: [{"id":"NATIVE_APP"}]
[HTTP] <-- POST /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/execute 200 4 ms - 93
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/source
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getPageSource() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getPageSource'
[WD Proxy] Matched '/source?format=json' to command name 'getPageSource'
[WD Proxy] Proxying [GET /source?format=json] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/source?format=json] with no body
[WD Proxy] Got response with status 200: {"value":{"isEnabled":"1","isVisible":"1","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"1","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"1","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"1","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"1","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"0","frame":"{{0, 0}, {390, 844}}","rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Image","name":"launch.logo","rawIdentifier":"launch.logo"}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Other","name":null,"rawIdentifier":null}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Other","name":null,"rawIdentifier":null}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Other","name":null,"rawIdentifier":null}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"la...
[MJSONWP (2cd4201f)] Responding to client with driver.getPageSource() result: "\n\n  \n    \n      \n        \n          \n            \n            
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/source 200 150 ms - 1277
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/screenshot
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getScreenshot() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getScreenshot'
[XCUITest] Taking screenshot with WDA
[WD Proxy] Matched '/screenshot' to command name 'getScreenshot'
[WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/screenshot] with no body
[WD Proxy] Got response with status 200: {"value":"iVBORw0KGgoAAAANSUhEUgAABJIAAAnkCAIAAADZI9xUAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAEkqADAAQAAAABAAAJ5AAAAADL9lqOAAAAHGlET1QAAAACAAAAAAAA\r\nBPIAAAAoAAAE8gAABPIAARp7VBfHWgAAQABJREFUeAHs2TENADEMBEFXoRRe5l8k\r\nMLYY6QFEc9X659z1ESBAgAABAgQIECBAgEBWYLIv8zACBAgQIECAAAECBAgQ+AKy\r\nzc9GAgQIECBAgAABAgQIpAVkW3oepwUCBAgQIECAAAECBAjINtlGgAABAgQIECBA\r\ngACBtIBsS8/jrkCAAAECBAgQIECAAAHZJtsIECBAgAABAgQIECCQFpBt6XncFQgQ\r\nIECAAAECBAgQICDbZBsBAgQIECBAgAABAgTSArItPY+7AgECBAgQIECAAAECBGSb\r\nbCNAgAABAgQIECBAgEBaQLal53FXIECAAAECBAgQIECAgGyTbQQIECBAgAABAgQI\r\nEEgLyLb0PO4KBAgQIECAAAECBAgQkG2yjQABAgQIECBAgAABAmkB2Zaex12BAAEC\r\nBAgQIECAAAECsk22ESBAgAABAgQIECBAIC0g29LzuCsQIECAAAECBAgQIEBAtsk2\r\nAgQIECBAgAABAgQIpAVkW3oedwUCBAgQIECAAAECBAjINtlGgAABAgQIECBAgACB\r\ntIBsS8/jrkCAAAECBAgQIECAAAHZJtsIECBAgAABAgQIECCQFpBt6XncFQgQIECA\r\nAAECBAgQICDbZBsBAgQIECBAgAABAgTSArItPY+7AgECBAgQIECAAAECBGSbbCNA\r\ngAABAgQIECBAgEBaQLal53FXIECAAAECBAgQIECAgGyTbQQIECBAgAABAgQ...
[MJSONWP (2cd4201f)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABJIAAAnkCAIAAADZI9xUAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAEkqADAAQAAAABAAAJ5AAAAADL9lqOAAAAHGlET1QAAAACAAAAAAAA\r\nBPIAAAAoAAAE8gAABPIAARp7VBfHWgAAQABJREFUeAHs2TENADEMBEFXoRRe5l8k\r\nMLYY6QFEc9X659z1ESBAgAABAgQIECBAgEBWYLIv8zACBAgQIECAAAECBAgQ+AKy\r\nzc9GAgQIECBAgAABAgQIpAVkW3oepwUCBAgQIECAAAECBAjINtlGgAABAgQIECBA\r\ngACBtIBsS8/jrkCAAAECBAgQIECAAAHZJtsIECBAgAABAgQIECCQFpBt6XncFQgQ\r\nIECAAAECBAgQICDbZBsBAgQIECBAgAABAgTSArItPY+7AgECBAgQIECAAAECBGSb\r\nbCNAgAABAgQIECBAgEBaQLal53FXIECAAAECBAgQIECAgGyTbQQIECBAgAABAgQI\r\nEEgLyLb0PO4KBAgQIECAAAECBAgQkG2yjQABAgQIECBAgAABAmkB2Zaex12BAAEC\r\nBAgQIECAAAECsk22ESBAgAABAgQIECBAIC0g29LzuCsQIECAAAECBAgQIEBAtsk2\r\nAgQIECBAgAABAgQIpAVkW3oedwUCBAgQIECAAAECBAjINtlGgAABAgQIECBAgACB\r\ntIBsS8/jrkCAAAECBAgQIECAAAHZJtsIECBAgAABAgQIECCQFpBt6XncFQgQIECA\r\nAAECBAgQICDbZBsBAgQIECBAgAABAgTSArItPY+7AgECBAgQIECAAAECBGSbbCNA\r\ngAABAgQIECBAgEBaQLal53FXIECAAAECBAgQIECAgGyTbQQIECBAgAABAgQIEEgL\r\n...
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/screenshot 200 138 ms - 207506
[HTTP] 
[RemoteDebugger] Received connected automation availability state: "WIRAutomationAvailabilityAvailable"
[RemoteDebugger] Received connected applications list: PID:4632
[RemoteDebugger] Received connected driver list: {}
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "2": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "file:///Users/user/Library/Developer/CoreSimulator/Devices/3340160B-395B-4A8D-B182-9753E5B2E124/data/Containers/Bundle/Application/9F3F2189-EBD9-4731-A04C-E098FE9D5F38/AppName%20Alpha.app/Frameworks/Core.framework/CoreHTML.bundle/LaunchScreen.html",
[RemoteDebugger]     "WIRPageIdentifierKey": 2
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false},{"id":2,"title":"","url":"file:///Users/user/Library/Developer/CoreSimulator/Devices/3340160B-395B-4A8D-B182-9753E5B2E124/data/Containers/Bundle/Application/9F3F2189-EBD9-4731-A04C-E098FE9D5F38/AppName%20Alpha.app/Frameworks/Core.framework/CoreHTML.bundle/LaunchScreen.html","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Found app id key 'PID:4632' for bundle 'de.myappname.example.AppName.alpha'
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Received page change notice for app 'PID:4632' but the listing has not changed. Ignoring.
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Received page change notice for app 'PID:4632' but the listing has not changed. Ignoring.
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Received page change notice for app 'PID:4632' but the listing has not changed. Ignoring.
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/contexts
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getContexts() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getContexts'
[XCUITest] Getting list of available contexts
[iOS] Retrieving contexts and views
[XCUITest] Selecting by url: false 
[RemoteDebugger] Selecting application
[RemoteDebugger] Current applications available:
[RemoteDebugger]     Application: "PID:4632"
[RemoteDebugger]         id: "PID:4632"
[RemoteDebugger]         isProxy: false
[RemoteDebugger]         name: "AppName Alpha"
[RemoteDebugger]         bundleId: "de.myappname.example.AppName.alpha"
[RemoteDebugger]         hostId: undefined
[RemoteDebugger]         isActive: true
[RemoteDebugger]         isAutomationEnabled: "Unknown"
[RemoteDebugger]         pageArray:
[RemoteDebugger]           - id: 1
[RemoteDebugger]             title: ""
[RemoteDebugger]             url: "about:blank"
[RemoteDebugger]             isKey: false
[RemoteDebugger] Checking for bundle identifiers: com.apple.WebKit.WebContent, process-com.apple.WebKit.WebContent, process-SafariViewService, com.apple.SafariViewService, *, de.myappname.example.AppName.alpha
[RemoteDebugger] Found app id key 'PID:4632' for bundle 'de.myappname.example.AppName.alpha'
[RemoteDebugger] Trying out the possible app ids: PID:4632 (try #1 of 20)
[RemoteDebugger] Attempting app 'PID:4632'
[RemoteDebugger] Sending '_rpc_forwardGetListing:' message to app 'PID:4632' (id: 6): 'connectToApp'
[RemoteDebugger] Received response from send (id: 6): '["PID:4632",{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWebPage","WIRURLKey":"about:blank","WIRPageIdentifierKey":1},"3":{"WIRPageIdentifierKey":3,"WIRTitleKey":"JSContext","WIRTypeKey":"WIRTypeJav...'
[RemoteDebugger] Received page change notice for app 'PID:4632' but the listing has not changed. Ignoring.
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Sending to Web Inspector took 4ms
[RemoteDebugger] Current applications available:
[RemoteDebugger]     Application: "PID:4632"
[RemoteDebugger]         id: "PID:4632"
[RemoteDebugger]         isProxy: false
[RemoteDebugger]         name: "AppName Alpha"
[RemoteDebugger]         bundleId: "de.myappname.example.AppName.alpha"
[RemoteDebugger]         hostId: undefined
[RemoteDebugger]         isActive: true
[RemoteDebugger]         isAutomationEnabled: "Unknown"
[RemoteDebugger]         pageArray:
[RemoteDebugger]           - id: 1
[RemoteDebugger]             title: ""
[RemoteDebugger]             url: "about:blank"
[RemoteDebugger]             isKey: false
[RemoteDebugger] Finally selecting app PID:4632: [{"id":1,"title":"","url":"about:blank","isKey":false}]
[RemoteDebugger] Selected app after 9ms
[MJSONWP (2cd4201f)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_4632.1"]
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/contexts 200 11 ms - 103
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/context
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getCurrentContext() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getCurrentContext'
[MJSONWP (2cd4201f)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/context 200 1 ms - 84
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getSession() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getSession'
[XCUITest] Merging WDA caps over Appium caps for session detail response
[MJSONWP (2cd4201f)] Responding to client with driver.getSession() result: {"udid":"3340160B-395B-4A8D-B182-9753E5B2E124","app":"de.myappname.example.AppName.alpha","automationName":"XCUITest","deviceName":"iPhone 12","platformName":"ios","useJSONSource":true,"waitForQuiescence":false,"newCommandTimeout":0,"connectHardwareKeyboard":true,"device":"iphone","browserName":"AppName Alpha","sdkVersion":"14.2","CFBundleIdentifier":"de.myappname.example.AppName.alpha","pixelRatio":3,"statBarHeight":47,"viewportRect":{"left":0,"top":141,"width":1170,"height":2391}}
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39 200 1 ms - 589
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/window/current/size
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getWindowSize() with args: ["current","2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getWindowSize'
[WD Proxy] Proxying [GET /window/size] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/window/size] with no body
[WD Proxy] Got response with status 200: {"value":{"width":390,"height":844},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[MJSONWP (2cd4201f)] Responding to client with driver.getWindowSize() result: {"width":390,"height":844}
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/window/current/size 200 1719 ms - 98
[HTTP] 
[HTTP] --> POST /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/execute
[HTTP] {"script":"mobile:getContexts","args":[]}
[MJSONWP (2cd4201f)] Calling AppiumDriver.execute() with args: ["mobile:getContexts",[],"2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'execute'
[XCUITest] Getting list of available contexts
[iOS] Retrieving contexts and views
[XCUITest] Selecting by url: false 
[RemoteDebugger] Selecting application
[RemoteDebugger] Current applications available:
[RemoteDebugger]     Application: "PID:4632"
[RemoteDebugger]         id: "PID:4632"
[RemoteDebugger]         isProxy: false
[RemoteDebugger]         name: "AppName Alpha"
[RemoteDebugger]         bundleId: "de.myappname.example.AppName.alpha"
[RemoteDebugger]         hostId: undefined
[RemoteDebugger]         isActive: true
[RemoteDebugger]         isAutomationEnabled: "Unknown"
[RemoteDebugger]         pageArray:
[RemoteDebugger]           - id: 1
[RemoteDebugger]             title: ""
[RemoteDebugger]             url: "about:blank"
[RemoteDebugger]             isKey: false
[RemoteDebugger] Checking for bundle identifiers: com.apple.WebKit.WebContent, process-com.apple.WebKit.WebContent, process-SafariViewService, com.apple.SafariViewService, *, de.myappname.example.AppName.alpha
[RemoteDebugger] Found app id key 'PID:4632' for bundle 'de.myappname.example.AppName.alpha'
[RemoteDebugger] Trying out the possible app ids: PID:4632 (try #1 of 20)
[RemoteDebugger] Attempting app 'PID:4632'
[RemoteDebugger] Sending '_rpc_forwardGetListing:' message to app 'PID:4632' (id: 8): 'connectToApp'
[RemoteDebugger] Received response from send (id: 8): '["PID:4632",{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWebPage","WIRURLKey":"about:blank","WIRPageIdentifierKey":1},"3":{"WIRPageIdentifierKey":3,"WIRTitleKey":"JSContext","WIRTypeKey":"WIRTypeJav...'
[RemoteDebugger] Received page change notice for app 'PID:4632' but the listing has not changed. Ignoring.
[RemoteDebugger] Page changed: {
[RemoteDebugger]   "1": {
[RemoteDebugger]     "WIRTitleKey": "",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeWebPage",
[RemoteDebugger]     "WIRURLKey": "about:blank",
[RemoteDebugger]     "WIRPageIdentifierKey": 1
[RemoteDebugger]   },
[RemoteDebugger]   "3": {
[RemoteDebugger]     "WIRPageIdentifierKey": 3,
[RemoteDebugger]     "WIRTitleKey": "JSContext",
[RemoteDebugger]     "WIRTypeKey": "WIRTypeJavaScript"
[RemoteDebugger]   }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"4632","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Sending to Web Inspector took 5ms
[RemoteDebugger] Current applications available:
[RemoteDebugger]     Application: "PID:4632"
[RemoteDebugger]         id: "PID:4632"
[RemoteDebugger]         isProxy: false
[RemoteDebugger]         name: "AppName Alpha"
[RemoteDebugger]         bundleId: "de.myappname.example.AppName.alpha"
[RemoteDebugger]         hostId: undefined
[RemoteDebugger]         isActive: true
[RemoteDebugger]         isAutomationEnabled: "Unknown"
[RemoteDebugger]         pageArray:
[RemoteDebugger]           - id: 1
[RemoteDebugger]             title: ""
[RemoteDebugger]             url: "about:blank"
[RemoteDebugger]             isKey: false
[RemoteDebugger] Finally selecting app PID:4632: [{"id":1,"title":"","url":"about:blank","isKey":false}]
[RemoteDebugger] Selected app after 8ms
[XCUITest] Found webview context after 9ms
[MJSONWP (2cd4201f)] Responding to client with driver.execute() result: [{"id":"NATIVE_APP"},{"id":"WEBVIEW_4632.1","title":"","url":"about:blank","bundleId":"de.myappname.example.AppName.alpha"}]
[HTTP] <-- POST /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/execute 200 10 ms - 208
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/source
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getPageSource() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getPageSource'
[WD Proxy] Matched '/source?format=json' to command name 'getPageSource'
[WD Proxy] Proxying [GET /source?format=json] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/source?format=json] with no body
[WD Proxy] Got response with status 200: {"value":{"isEnabled":"1","isVisible":"1","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"0","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"0","frame":"{{0, 0}, {390, 844}}","children":[{"isEnabled":"1","isVisible":"0","frame":"{{0, 0}, {390, 844}}","rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Other","name":null,"rawIdentifier":null}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Other","name":null,"rawIdentifier":null}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":null,"type":"Window","name":null,"rawIdentifier":null}],"rect":{"y":0,"x":0,"width":390,"height":844},"value":null,"label":"AppName Alpha","type":"Application","name":"AppName Alpha","rawIdentifier":null},"sessionId":"C2838F2B-DFEC-4067-B764-76C045A218C4"}
[MJSONWP (2cd4201f)] Responding to client with driver.getPageSource() result: "\n\n  \n    \n      \n        \n        \n      \n    \n  \n"
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/source 200 35397 ms - 898
[HTTP] 
[HTTP] --> GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/screenshot
[HTTP] {}
[MJSONWP (2cd4201f)] Calling AppiumDriver.getScreenshot() with args: ["2cd4201f-50c5-4dd5-8196-d654836dbb39"]
[XCUITest] Executing command 'getScreenshot'
[XCUITest] Taking screenshot with WDA
[WD Proxy] Matched '/screenshot' to command name 'getScreenshot'
[WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8100/session/C2838F2B-DFEC-4067-B764-76C045A218C4/screenshot] with no body
[WD Proxy] Got response with status 200: {"value":"iVBORw0KGgoAAAANSUhEUgAABJIAAAnkCAIAAADZI9xUAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAEkqADAAQAAAABAAAJ5AAAAADL9lqOAAAAHGlET1QAAAACAAAAAAAA\r\nBPIAAAAoAAAE8gAABPIACBwzdZuS8QAAQABJREFUeAHsvQl8ZGWV/l/ZU6mqLL0B\r\n4jLozOiodFJVt/YkDYqjjCAgey/Z10oqtWRPaKDpvaHZoWWTxQEFpOnGZlUUN8R9\r\n/OGo4zKoqCwKyNZblvp/z3uTpkX9Y9oOBOfwea2prty699Zz73vnPO9zznMchaGM\r\nDkVAEVAEFAFFQBFQBBQBRUARUAQUgTmLgGPOnpmemCKgCCgCioAioAgoAoqAIqAI\r\nKAKKAAgobVOxURFQBBQBRUARUAQUAUVAEVAEFIE5jYDStjl9eXRpQRFQBBQBRUAR\r\nUAQUAUVAEVAEFAGlbUrbFAFFQBFQBBQBRUARUAQUAUVAEZjTCChtm9OXR9cVFAFF\r\nQBFQBBQBRUARUAQUAUVAEVDaprRNEVAEFAFFQBFQBBQBRUARUAQUgTmNgNK2OX15\r\ndF1BEVAEFAFFQBFQBBQBRUARUAQUAaVtStsUAUVAEVAEFAFFQBFQBBQBRUARmNMI\r\nKG2b05dH1xUUAUVAEVAEFAFFQBFQBBQBRUARUNqmtE0RUAQUAUVAEVAEFAFFQBFQ\r\nBBSBOY2A0rY5fXl0XUERUAQUAUVAEVAEFAFFQBFQBBQBpW1K2xQBRUARUAQUAUVA\r\nEVAEFAFFQBGY0wgobZvTl0fXFRQBRUARUAQUAUVAEVAEFAFFQBFQ2qa0TRFQBBQB\r\nRUARUAQUAUVAEVAEFIE5jYDStjl9eXRdQRFQBBQBRUARUAQUAUVAEVAEFAG...
[MJSONWP (2cd4201f)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABJIAAAnkCAIAAADZI9xUAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAEkqADAAQAAAABAAAJ5AAAAADL9lqOAAAAHGlET1QAAAACAAAAAAAA\r\nBPIAAAAoAAAE8gAABPIACBwzdZuS8QAAQABJREFUeAHsvQl8ZGWV/l/ZU6mqLL0B\r\n4jLozOiodFJVt/YkDYqjjCAgey/Z10oqtWRPaKDpvaHZoWWTxQEFpOnGZlUUN8R9\r\n/OGo4zKoqCwKyNZblvp/z3uTpkX9Y9oOBOfwea2prty699Zz73vnPO9zznMchaGM\r\nDkVAEVAEFAFFQBFQBBQBRUARUAQUgTmLgGPOnpmemCKgCCgCioAioAgoAoqAIqAI\r\nKAKKAAgobVOxURFQBBQBRUARUAQUAUVAEVAEFIE5jYDStjl9eXRpQRFQBBQBRUAR\r\nUAQUAUVAEVAEFAGlbUrbFAFFQBFQBBQBRUARUAQUAUVAEZjTCChtm9OXR9cVFAFF\r\nQBFQBBQBRUARUAQUAUVAEVDaprRNEVAEFAFFQBFQBBQBRUARUAQUgTmNgNK2OX15\r\ndF1BEVAEFAFFQBFQBBQBRUARUAQUAaVtStsUAUVAEVAEFAFFQBFQBBQBRUARmNMI\r\nKG2b05dH1xUUAUVAEVAEFAFFQBFQBBQBRUARUNqmtE0RUAQUAUVAEVAEFAFFQBFQ\r\nBBSBOY2A0rY5fXl0XUERUAQUAUVAEVAEFAFFQBFQBBQBpW1K2xQBRUARUAQUAUVA\r\nEVAEFAFFQBGY0wgobZvTl0fXFRQBRUARUAQUAUVAEVAEFAFFQBFQ2qa0TRFQBBQB\r\nRUARUAQUAUVAEVAEFIE5jYDStjl9eXRdQRFQBBQBRUARUAQUAUVAEVAEFAGlbUrb\r\n...
[HTTP] <-- GET /wd/hub/session/2cd4201f-50c5-4dd5-8196-d654836dbb39/screenshot 200 269 ms - 3431782
[HTTP]

Hello? :confused: Is there anyone?

GitHub - appium/appium-xcuitest-driver: Appium iOS driver, backed by Apple XCTest → waitForQuiescence. it should be disabled in your code example. if not enter issue.

1 Like

Thanks for your answer. I’ve tried waitForQuiescence: true and it does not work either.

so enter an issue with appium logs to continue Appium dev will look or help.

Have you tired to play with snapshotMaxDepth and customSnapshotTimeout?
What if set them 70 and 250.

1 Like

That did not help either but thanks for your reply!

weird, I had the same exact problem, it was solved by setting snapshotMaxDepth=70 and customSnapshotTimeout=250 settings

Hey Murdoc,

how do I set this setting?Im using MAC with appium 1.22
thanks in advance.