Работает на Appium 1.15.1 с Selenium Java Клиент v3.14.x
iOS: 11.1 на Xcode 11.3.1
TestNG
Поведение: приложение установлено запускается дважды и тест не запускается, хотя приложение работает на симуляторе. Такое же поведение происходит в ферме устройств.
При просмотре журналов создаются два сеанса. В конце журнала вы можете увидеть, что когда драйвер приближается к findElements
, он сталкивается с ошибкой cannot find session id
.
Я могу запустить и присоединить сеанс через настольный Appium. Также могу запустить тот же набор тестов на appium с Android.
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"com.*****.*****","waitForQuiescence":false,"newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","automationName":"XCUITest","autoWebview":false,"platformName":"iOS","udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","deviceName":"IOSDevice","xcodeSigningId":"iPhone Developer"},"capabilities":{"alwaysMatch":{"appium:app":"com.*****.*****","appium:autoWebview":false,"appium:automationName":"XCUITest","appium:deviceName":"IOSDevice","appium:newCommandTimeout":600,"platformName":"ios","appium:platformVersion":"11.1","appium:udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","waitForQuiescence":false,"appium:xcodeOrgId":"*****","appium:xcodeSigningId":"iPhone Developer"},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"com.*****.*****","waitForQuiescence":false,"newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","automationName":"XCUITest","autoWebview":false,"platformName":"iOS","udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","deviceName":"IOSDevice","xcodeSigningId":"iPhone Developer"},null,{"alwaysMatch":{"appium:app":"com.*****.*****","appium:autoWebview":false,"appium:automationName":"XCUITest","appium:deviceName":"IOSDevice","appium:newCommandTimeout":600,"platformName":"ios","appium:platformVersion":"11.1","appium:udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","waitForQuiescence":false,"appium:xcodeOrgId":"*****","appium:xcodeSigningId":"iPhone Developer"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1582661173918 (15:06:13 GMT-0500 (Eastern Standard Time))
[Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:waitForQuiescence": false,
[debug] [BaseDriver] "appium:app": "com.*****.*****",
[debug] [BaseDriver] "appium:autoWebview": false,
[debug] [BaseDriver] "appium:automationName": "XCUITest",
[debug] [BaseDriver] "appium:deviceName": "IOSDevice",
[debug] [BaseDriver] "appium:newCommandTimeout": 600,
[debug] [BaseDriver] "appium:platformVersion": "11.1",
[debug] [BaseDriver] "appium:udid": "50BA3E44-6ADE-4A42-B4FB-3699F63EEECE",
[debug] [BaseDriver] "appium:xcodeOrgId": "*****",
[debug] [BaseDriver] "appium:xcodeSigningId": "iPhone Developer"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: 0c0af961-ce00-491c-aa1d-fd195f71e364
[debug] [XCUITest] Current user: '*****'
[debug] [XCUITest] Available devices:
[iOSSim] Constructing iOS simulator for Xcode version 11.3.1 with udid '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE'
[XCUITest] Determining device to run tests on: udid: '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE', real device: false
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1582661174736 (15:06:14 GMT-0500 (Eastern Standard Time))
[debug] [XCUITest] App is an iOS bundle, will attempt to run as pre-existing
[debug] [BaseDriver] Event 'appConfigured' logged at 1582661174737 (15:06:14 GMT-0500 (Eastern Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1582661174737 (15:06:14 GMT-0500 (Eastern Standard Time))
[debug] [iOSSim] Cleaning app data files for '', 'com.*****.*****'
[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOSSim] Building bundle path map
[debug] [Support] Plist file '/Users/*****/Library/Developer/CoreSimulator/Devices/50BA3E44-6ADE-4A42-B4FB-3699F63EEECE/data/Containers/Data/Application/A78A06B7-6D4B-4394-86EA-C5B2C37CCB97/.com.apple.mobile_container_manager.metadata.plist' does not exist. Returning an empty plist.
[debug] [iOSSim] Could not find app directories to delete. It is probably not installed
[debug] [BaseDriver] Event 'resetComplete' logged at 1582661175214 (15:06:15 GMT-0500 (Eastern Standard Time))
[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE', using 'xcrun simctl spawn 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE log stream --style compact'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1582661175560 (15:06:15 GMT-0500 (Eastern Standard Time))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE Simulator to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE Simulator preferences at '/Users/*****/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Got Simulator UI client PID: 59374
[iOSSim] Both Simulator with UDID 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE and the UI client are currently running
[debug] [IDB] Connecting idb service to '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE'
[XCUITest] idb will not be used for Simulator interaction. Original error: 'idb' has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event 'simStarted' logged at 1582661175808 (15:06:15 GMT-0500 (Eastern Standard Time))
[XCUITest] Using WDA path: '/Users/*****/.nvm/versions/node/v12.14.0/lib/node_modules/appium/node_modules/appium-webdriveragent'
[XCUITest] Using WDA agent: '/Users/*****/.nvm/versions/node/v12.14.0/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE on local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE:8100
[debug] [XCUITest] Parsed BUILD_DIR configuration value: '/Users/*****/Library/Developer/Xcode/DerivedData/WebDriverAgent-fypedwngpizuhxeihprzzepndinp/Build/Products'
[debug] [XCUITest] Got derived data root: '/Users/*****/Library/Developer/Xcode/DerivedData/WebDriverAgent-fypedwngpizuhxeihprzzepndinp'
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/*****/Library/Developer/Xcode/DerivedData/WebDriverAgent-fypedwngpizuhxeihprzzepndinp'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: {
...
...
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.*****.*****","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"7CA3E802-CAF1-4695-93F0-875C78036D85","capabilities":{"device":"iphone","browserName":"PaneliOSMobileApp","sdkVersion":"11.1","CFBundleIdentifier":"com.*****.*****"}},"sessionId":"7CA3E802-CAF1-4695-93F0-875C78036D85"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1582661183785 (15:06:23 GMT-0500 (Eastern Standard Time))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1582661183786 (15:06:23 GMT-0500 (Eastern Standard Time))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [BaseDriver] Event 'orientationSet' logged at 1582661183786 (15:06:23 GMT-0500 (Eastern Standard Time))
[Appium] New XCUITestDriver session created successfully, session 0c0af961-ce00-491c-aa1d-fd195f71e364 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1582661183787 (15:06:23 GMT-0500 (Eastern Standard Time))
[debug] [W3C (0c0af961)] Cached the protocol value 'W3C' for the new session 0c0af961-ce00-491c-aa1d-fd195f71e364
[debug] [W3C (0c0af961)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"ios","waitForQuiescence":false,"app":"com.*****.*****","autoWebview":false,"automationName":"XCUITest","deviceName":"IOSDevice","newCommandTimeout":600,"platformVersion":"11.1","udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","xcodeOrgId":"*****","xcodeSigningId":"iPhone Developer"}}
[HTTP] <-- POST /wd/hub/session 200 9876 ms - 584
[HTTP]
[HTTP] --> GET /wd/hub/session/0c0af961-ce00-491c-aa1d-fd195f71e364
[HTTP] {}
[debug] [W3C (0c0af961)] Calling AppiumDriver.getSession() with args: ["0c0af961-ce00-491c-aa1d-fd195f71e364"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [WD Proxy] Matched '/' to command name 'getSession'
[debug] [WD Proxy] Proxying [GET /] to [GET http://localhost:8100/session/7CA3E802-CAF1-4695-93F0-875C78036D85] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : {
[debug] [WD Proxy] "sessionId" : "7CA3E802-CAF1-4695-93F0-875C78036D85",
[debug] [WD Proxy] "capabilities" : {
[debug] [WD Proxy] "device" : "iphone",
[debug] [WD Proxy] "browserName" : "PaneliOSMobileApp",
[debug] [WD Proxy] "sdkVersion" : "11.1",
[debug] [WD Proxy] "CFBundleIdentifier" : "com.*****.*****"
[debug] [WD Proxy] }
[debug] [WD Proxy] },
[debug] [WD Proxy] "sessionId" : "7CA3E802-CAF1-4695-93F0-875C78036D85"
[debug] [WD Proxy] }
[debug] [WD Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/7CA3E802-CAF1-4695-93F0-875C78036D85/wda/screen] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : {
[debug] [WD Proxy] "statusBarSize" : {
[debug] [WD Proxy] "width" : 0,
[debug] [WD Proxy] "height" : 0
[debug] [WD Proxy] },
[debug] [WD Proxy] "scale" : 3
[debug] [WD Proxy] },
[debug] [WD Proxy] "sessionId" : "7CA3E802-CAF1-4695-93F0-875C78036D85"
[debug] [WD Proxy] }
[debug] [WD Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/7CA3E802-CAF1-4695-93F0-875C78036D85/window/size] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : {
[debug] [WD Proxy] "width" : 375,
[debug] [WD Proxy] "height" : 812
[debug] [WD Proxy] },
[debug] [WD Proxy] "sessionId" : "7CA3E802-CAF1-4695-93F0-875C78036D85"
[debug] [WD Proxy] }
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [W3C (0c0af961)] Responding to client with driver.getSession() result: {"udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","platformName":"ios","waitForQuiescence":false,"app":"com.*****.*****","autoWebview":false,"automationName":"XCUITest","deviceName":"IOSDevice","newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","xcodeSigningId":"iPhone Developer","device":"iphone","browserName":"PaneliOSMobileApp","sdkVersion":"11.1","CFBundleIdentifier":"com.*****.*****","pixelRatio":3,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":1125,"height":2436}}
[HTTP] <-- GET /wd/hub/session/0c0af961-ce00-491c-aa1d-fd195f71e364 200 112 ms - 533
[HTTP]
[HTTP] --> GET /wd/hub/session/0c0af961-ce00-491c-aa1d-fd195f71e364
[HTTP] {}
[debug] [W3C (0c0af961)] Calling AppiumDriver.getSession() with args: ["0c0af961-ce00-491c-aa1d-fd195f71e364"]
[debug] [XCUITest] Executing command 'getSession'
[XCUITest] Merging WDA caps over Appium caps for session detail response
...
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"com.*****.*****","waitForQuiescence":false,"newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","automationName":"XCUITest","autoWebview":false,"platformName":"iOS","udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","deviceName":"IOSDevice","xcodeSigningId":"iPhone Developer"},"capabilities":{"alwaysMatch":{"appium:app":"com.*****.*****","appium:autoWebview":false,"appium:automationName":"XCUITest","appium:deviceName":"IOSDevice","appium:newCommandTimeout":600,"platformName":"ios","appium:platformVersion":"11.1","appium:udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","waitForQuiescence":false,"appium:xcodeOrgId":"*****","appium:xcodeSigningId":"iPhone Developer"},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"com.*****.*****","waitForQuiescence":false,"newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","automationName":"XCUITest","autoWebview":false,"platformName":"iOS","udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","deviceName":"IOSDevice","xcodeSigningId":"iPhone Developer"},null,{"alwaysMatch":{"appium:app":"com.*****.*****","appium:autoWebview":false,"appium:automationName":"XCUITest","appium:deviceName":"IOSDevice","appium:newCommandTimeout":600,"platformName":"ios","appium:platformVersion":"11.1","appium:udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","waitForQuiescence":false,"appium:xcodeOrgId":"*****","appium:xcodeSigningId":"iPhone Developer"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1582661184585 (15:06:24 GMT-0500 (Eastern Standard Time))
[BaseDriver] The capabilities ["waitForQuiescence"] are not standard capabilities and should have an extension prefix
[Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:waitForQuiescence": false,
[debug] [BaseDriver] "appium:app": "com.*****.*****",
[debug] [BaseDriver] "appium:autoWebview": false,
[debug] [BaseDriver] "appium:automationName": "XCUITest",
[debug] [BaseDriver] "appium:deviceName": "IOSDevice",
[debug] [BaseDriver] "appium:newCommandTimeout": 600,
[debug] [BaseDriver] "appium:platformVersion": "11.1",
[debug] [BaseDriver] "appium:udid": "50BA3E44-6ADE-4A42-B4FB-3699F63EEECE",
[debug] [BaseDriver] "appium:xcodeOrgId": "*****",
[debug] [BaseDriver] "appium:xcodeSigningId": "iPhone Developer"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: c14d8a9c-dcc7-4f36-85d3-793c92a8ccc6
[debug] [XCUITest] Current user: '*****'
[debug] [XCUITest] Available devices:
[iOSSim] Constructing iOS simulator for Xcode version 11.3.1 with udid '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE'
[XCUITest] Determining device to run tests on: udid: '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE', real device: false
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1582661184836 (15:06:24 GMT-0500 (Eastern Standard Time))
[debug] [XCUITest] App is an iOS bundle, will attempt to run as pre-existing
[debug] [BaseDriver] Event 'appConfigured' logged at 1582661184836 (15:06:24 GMT-0500 (Eastern Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1582661184837 (15:06:24 GMT-0500 (Eastern Standard Time))
[debug] [iOSSim] Cleaning app data files for '', 'com.*****.*****'
[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOSSim] Building bundle path map
[debug] [Support] Plist file '/Users/*****/Library/Developer/CoreSimulator/Devices/50BA3E44-6ADE-4A42-B4FB-3699F63EEECE/data/Containers/Data/Application/A78A06B7-6D4B-4394-86EA-C5B2C37CCB97/.com.apple.mobile_container_manager.metadata.plist' does not exist. Returning an empty plist.
[debug] [iOSSim] Could not find app directories to delete. It is probably not installed
[debug] [BaseDriver] Event 'resetComplete' logged at 1582661185288 (15:06:25 GMT-0500 (Eastern Standard Time))
[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE', using 'xcrun simctl spawn 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE log stream --style compact'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1582661185564 (15:06:25 GMT-0500 (Eastern Standard Time))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE Simulator to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE Simulator preferences at '/Users/*****/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Got Simulator UI client PID: 59374
[iOSSim] Both Simulator with UDID 50BA3E44-6ADE-4A42-B4FB-3699F63EEECE and the UI client are currently running
[debug] [IDB] Connecting idb service to '50BA3E44-6ADE-4A42-B4FB-3699F63EEECE'
[XCUITest] idb will not be used for Simulator interaction. Original error: 'idb' has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event 'simStarted' logged at 1582661185716 (15:06:25 GMT-0500 (Eastern Standard Time))
[XCUITest] Using WDA path: '/Users/*****/.nvm/versions/node/v12.14.0/lib/node_modules/appium/node_modules/appium-webdriveragent'
[XCUITest] Using WDA agent: '/Users/*****/.nvm/versions/node/v12.14.0/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
...
[debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1582661188417 (15:06:28 GMT-0500 (Eastern Standard Time))
[XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : {
[debug] [WD Proxy] "message" : "WebDriverAgent is ready to accept commands",
[debug] [WD Proxy] "state" : "success",
[debug] [WD Proxy] "os" : {
[debug] [WD Proxy] "name" : "iOS",
[debug] [WD Proxy] "version" : "11.1",
[debug] [WD Proxy] "sdkVersion" : "13.0"
[debug] [WD Proxy] },
[debug] [WD Proxy] "ios" : {
[debug] [WD Proxy] "simulatorVersion" : "11.1",
[debug] [WD Proxy] "ip" : "10.219.247.31"
[debug] [WD Proxy] },
[debug] [WD Proxy] "ready" : true,
[debug] [WD Proxy] "build" : {
[debug] [WD Proxy] "time" : "Feb 25 2020 10:00:45",
[debug] [WD Proxy] "productBundleIdentifier" : "com.facebook.WebDriverAgentRunner"
[debug] [WD Proxy] }
[debug] [WD Proxy] },
[debug] [WD Proxy] "sessionId" : "7CA3E802-CAF1-4695-93F0-875C78036D85"
[debug] [WD Proxy] }
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1582661188422 (15:06:28 GMT-0500 (Eastern Standard Time))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.*****.*****","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"440E7994-DF70-4D88-AF6B-1FFCE2D1AB60","capabilities":{"device":"iphone","browserName":"PaneliOSMobileApp","sdkVersion":"11.1","CFBundleIdentifier":"com.*****.*****"}},"sessionId":"440E7994-DF70-4D88-AF6B-1FFCE2D1AB60"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1582661189590 (15:06:29 GMT-0500 (Eastern Standard Time))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1582661189590 (15:06:29 GMT-0500 (Eastern Standard Time))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [BaseDriver] Event 'orientationSet' logged at 1582661189590 (15:06:29 GMT-0500 (Eastern Standard Time))
[Appium] New XCUITestDriver session created successfully, session c14d8a9c-dcc7-4f36-85d3-793c92a8ccc6 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1582661189591 (15:06:29 GMT-0500 (Eastern Standard Time))
…
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [W3C (c14d8a9c)] Responding to client with driver.getSession() result: {"udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","platformName":"ios","waitForQuiescence":false,"app":"com.*****.*****","autoWebview":false,"automationName":"XCUITest","deviceName":"IOSDevice","newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","xcodeSigningId":"iPhone Developer","device":"iphone","browserName":"PaneliOSMobileApp","sdkVersion":"11.1","CFBundleIdentifier":"com.*****.*****","pixelRatio":3,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":1125,"height":2436}}
[HTTP] <-- GET /wd/hub/session/c14d8a9c-dcc7-4f36-85d3-793c92a8ccc6 200 79 ms - 533
[HTTP]
[HTTP] --> GET /wd/hub/session/c14d8a9c-dcc7-4f36-85d3-793c92a8ccc6
[HTTP] {}
[debug] [W3C (c14d8a9c)] Calling AppiumDriver.getSession() with args: ["c14d8a9c-dcc7-4f36-85d3-793c92a8ccc6"]
[debug] [XCUITest] Executing command 'getSession'
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [W3C (c14d8a9c)] Responding to client with driver.getSession() result: {"udid":"50BA3E44-6ADE-4A42-B4FB-3699F63EEECE","platformName":"ios","waitForQuiescence":false,"app":"com.*****.*****","autoWebview":false,"automationName":"XCUITest","deviceName":"IOSDevice","newCommandTimeout":600,"platformVersion":"11.1","xcodeOrgId":"*****","xcodeSigningId":"iPhone Developer","device":"iphone","browserName":"PaneliOSMobileApp","sdkVersion":"11.1","CFBundleIdentifier":"com.*****.*****","pixelRatio":3,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":1125,"height":2436}}
[HTTP] <-- GET /wd/hub/session/c14d8a9c-dcc7-4f36-85d3-793c92a8ccc6 200 2 ms - 533
[HTTP] --> POST /wd/hub/session/0c0af961-ce00-491c-aa1d-fd195f71e364/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (0c0af961)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","0c0af961-ce00-491c-aa1d-fd195f71e364"]
[debug] [XCUITest] Executing command 'setContext'
[debug] [XCUITest] Attempting to set context to 'NATIVE_APP'
[debug] [W3C (0c0af961)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/0c0af961-ce00-491c-aa1d-fd195f71e364/context 200 5 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/0c0af961-ce00-491c-aa1d-fd195f71e364/element
[HTTP] {"using":"xpath","value":"(//*[@name=\"Continue\"])[2]"}
[debug] [W3C (0c0af961)] Calling AppiumDriver.findElement() with args: ["xpath","(//*[@name=\"Continue\"])[2]","0c0af961-ce00-491c-aa1d-fd195f71e364"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 20000 ms for condition
[debug] [WD Proxy] Matched '/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/7CA3E802-CAF1-4695-93F0-875C78036D85/element] with body: {"using":"xpath","value":"(//*[@name=\"Continue\"])[2]"}
[WD Proxy] Got an unexpected response with status 404: {"value":{"error":"invalid session id","message":"Session does not exist","traceback":"(\n\t0 CoreFoundation 0x00000001090cf1ab __exceptionPreprocess + 171\n\t1 libobjc.A.dylib 0x0000000108764f41 objc_exception_throw + 48\n\t2 CoreFoundation 0x00000001090cf0f9 -[NSException raise] + 9\n\t3 WebDriverAgentLib 0x000000011bfe3487 -[FBRoute raiseNoSessionException] + 103\n\t4 WebDriverAgentLib 0x000000011bfe33a6 -[FBRoute decorateRequest:] + 294\n\t5 WebDriverAgentLib 0x000000011bfe27ae -[FBRoute_TargetAction mountRequest:intoResponse:] + 94\n\t6 WebDriverAgentLib 0x000000011bfcdc1b __37-[FBWebServer registerRouteHandlers:]_block_invoke + 555\n\t7 RoutingHTTPServer 0x000000011c141ae7 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136\n\t8 RoutingHTTPServer 0x000000011c1423fa __72-[RoutingHTTPServer routeMethod:withPa...