[HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"automationName":"XCUITest","bundleId":"com.nbcuni.nbc.portal.enterprise","commandTimeouts":240000,"deviceName":"iphone2","newCommandTimeout":30000,"orientation":"PORTRAIT","platformName":"iOS","platformVersion":"12.0","udid":"e62213758e8f25927d14f0214d94e335de2794b0","wdaConnectionTimeout":240000,"wdaLaunchTimeout":240000,"webDriverAgentUrl":"http://10.107.240.95:8100"},"capabilities":{"desiredCapabilities":{"automationName":"XCUITest","bundleId":"com.nbcuni.nbc.portal.enterprise","commandTimeouts":240000,"deviceName":"iphone2","newCommandTimeout":30000,"orientation":"PORTRAIT","platformName":"iOS","platformVersion":"12.0","udid":"e62213758e8f25927d14f0214d94e335de2794b0","wdaConnectionTimeout":240000,"wdaLaunchTimeout":240000,"webDriverAgentUrl":"http://10.107.240.95:8100"},"firstMatch":[{"platformName":"ios"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","bundleId":"com.nbcuni.nbc.portal.enterprise","commandTimeouts":240000,"deviceName":"iphone2","newCommandTimeout":30000,"orientation":"PORTRAIT","platformName":"iOS","platformVersion":"12.0","udid":"e62213758e8f25927d14f0214d94e335de2794b0","wdaConnectionTimeout":240000,"wdaLaunchTimeout":240000,"webDriverAgentUrl":"http://10.107.240.95:8100"},null,{"desiredCapabilities":{"automationName":"XCUITest","bundleId":"com.nbcuni.nbc.portal.enterprise","commandTimeouts":240000,"deviceName":"iphone2","newCommandTimeout":30000,"orientation":"PORTRAIT","platformName":"iOS","platformVersion":"12.0","udid":"e62213758e8f25927d14f0214d94e335de2794b0","wdaConnectionTimeout":240000,"wdaLaunchTimeout":240000,"webDriverAgentUrl":"http://10.107.240.95:8100"},"firstMatch":[{"platformName":"ios"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1541421616360 (18:10:16 GMT+0530 (India Standard Time)) [Appium] Could not parse W3C capabilities: 'deviceName' can't be blank [Appium] Trying to fix W3C capabilities by merging them with JSONWP caps [BaseDriver] The capabilities ["automationName","bundleId","commandTimeouts","deviceName","newCommandTimeout","orientation","platformVersion","udid","wdaConnectionTimeout","wdaLaunchTimeout","webDriverAgentUrl"] are not standard capabilities and should have an extension prefix [Appium] Creating new XCUITestDriver (v2.94.2) session [Appium] Capabilities: [Appium] automationName: XCUITest [Appium] bundleId: com.nbcuni.nbc.portal.enterprise [Appium] commandTimeouts: 240000 [Appium] deviceName: iphone2 [Appium] newCommandTimeout: 30000 [Appium] orientation: PORTRAIT [Appium] platformVersion: 12.0 [Appium] udid: e62213758e8f25927d14f0214d94e335de2794b0 [Appium] wdaConnectionTimeout: 240000 [Appium] wdaLaunchTimeout: 240000 [Appium] webDriverAgentUrl: http://10.107.240.95:8100 [Appium] platformName: ios [debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:aut... and MJSONWP desired capabilities {"automationName":"XCUITest... were provided [debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:aut... [BaseDriver] Session created with session id: 9eef8501-8d62-4512-bddc-38fd1e7559c7 [debug] [XCUITest] Current user: '729833' [debug] [XCUITest] Xcode version set to '10.0' (tools v10.1.0.0.1.1539992718) [debug] [XCUITest] iOS SDK Version set to '12.0' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1541421617492 (18:10:17 GMT+0530 (India Standard Time)) [debug] [XCUITest] Available devices: e62213758e8f25927d14f0214d94e335de2794b0 [debug] [XCUITest] Creating iDevice object with udid 'e62213758e8f25927d14f0214d94e335de2794b0' [XCUITest] Determining device to run tests on: udid: 'e62213758e8f25927d14f0214d94e335de2794b0', real device: true [debug] [XCUITest] Xcode version will not be validated against iOS SDK version. [debug] [BaseDriver] Event 'appConfigured' logged at 1541421619743 (18:10:19 GMT+0530 (India Standard Time)) [debug] [BaseDriver] Event 'resetStarted' logged at 1541421619743 (18:10:19 GMT+0530 (India Standard Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1541421619744 (18:10:19 GMT+0530 (India Standard Time)) [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog [debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog' [XCUITest] Cannot get the name of the crashes folder for the device with udid 'e62213758e8f25927d14f0214d94e335de2794b0'. Original error: Command 'idevicename -u e62213758e8f25927d14f0214d94e335de2794b0' exited with code 255 [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1541421621346 (18:10:21 GMT+0530 (India Standard Time)) [XCUITest] Setting up real device [XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/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 1 times with 10000ms interval [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1541421622350 (18:10:22 GMT+0530 (India Standard Time)) [XCUITest] Using provided WebdriverAgent at 'http://10.107.240.95:8100' [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1541421622350 (18:10:22 GMT+0530 (India Standard Time)) [debug] [XCUITest] Sending createSession command to WDA [debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://10.107.240.95:8100/status] with no body [debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.0\",\n \"ip\" : \"10.107.240.95\"\n },\n \"build\" : {\n \"time\" : \"Nov 3 2018 15:02:08\"\n }\n },\n \"sessionId\" : \"9537B0CF-843A-45E1-9971-5398942D2939\",\n \"status\" : 0\n}" [debug] [JSONWP Proxy] Matched '/session' to command name 'createSession' [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://10.107.240.95:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.nbcuni.nbc.portal.enterprise","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}} [debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"A8D553EF-7EF9-41FA-ABC9-0E5E3CB5DA9B","capabilities":{"device":"iphone","browserName":"NBC Beta","sdkVersion":"12.0","CFBundleIdentifier":"com.nbcuni.nbc.portal.enterprise"}},"sessionId":"A8D553EF-7EF9-41FA-ABC9-0E5E3CB5DA9B","status":0} [debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1541421629479 (18:10:29 GMT+0530 (India Standard Time)) [debug] [BaseDriver] Event 'wdaStarted' logged at 1541421629479 (18:10:29 GMT+0530 (India Standard Time)) [debug] [XCUITest] Setting initial orientation to 'PORTRAIT' [debug] [JSONWP Proxy] Matched '/orientation' to command name 'setOrientation' [debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://10.107.240.95:8100/session/A8D553EF-7EF9-41FA-ABC9-0E5E3CB5DA9B/orientation] with body: {"orientation":"PORTRAIT"} [debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"A8D553EF-7EF9-41FA-ABC9-0E5E3CB5DA9B","status":0} [debug] [BaseDriver] Event 'orientationSet' logged at 1541421631981 (18:10:31 GMT+0530 (India Standard Time)) [Appium] New XCUITestDriver session created successfully, session 9eef8501-8d62-4512-bddc-38fd1e7559c7 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1541421631982 (18:10:31 GMT+0530 (India Standard Time)) [debug] [W3C] Cached the protocol value 'W3C' for the new session 9eef8501-8d62-4512-bddc-38fd1e7559c7 [debug] [W3C] 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","automationName":"XCUITest","bundleId":"com.nbcuni.nbc.portal.enterprise","commandTimeouts":240000,"deviceName":"iphone2","newCommandTimeout":30000,"orientation":"PORTRAIT","platformVersion":"12.0","udid":"e62213758e8f25927d14f0214d94e335de2794b0","wdaConnectionTimeout":240000,"wdaLaunchTimeout":240000,"webDriverAgentUrl":"http://10.107.240.95:8100"}} [HTTP] <-- POST /wd/hub/session 200 15623 ms - 648 [HTTP] [HTTP] --> POST /wd/hub/session/9eef8501-8d62-4512-bddc-38fd1e7559c7/timeouts [HTTP] {"implicit":40000} [debug] [W3C] Calling AppiumDriver.timeouts() with args: [null,null,null,null,40000,"9eef8501-8d62-4512-bddc-38fd1e7559c7"] [debug] [XCUITest] Executing command 'timeouts' [debug] [BaseDriver] W3C timeout argument: {"implicit":40000}} [debug] [BaseDriver] Set implicit wait to 40000ms [debug] [W3C] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/9eef8501-8d62-4512-bddc-38fd1e7559c7/timeouts 200 4 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/9eef8501-8d62-4512-bddc-38fd1e7559c7/element [HTTP] {"value":"//XCUIElementTypeOther[@name='MenuView']//XCUIElementTypeButton[@name='Shows Listing']","using":"xpath"} [debug] [W3C] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeOther[@name='MenuView']//XCUIElementTypeButton[@name='Shows Listing']","9eef8501-8d62-4512-bddc-38fd1e7559c7"] [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 40000 ms for condition [debug] [JSONWP Proxy] Matched '/element' to command name 'findElement' [debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://10.107.240.95:8100/session/A8D553EF-7EF9-41FA-ABC9-0E5E3CB5DA9B/element] with body: {"using":"xpath","value":"//XCUIElementTypeOther[@name='MenuView']//XCUIElementTypeButton[@name='Shows Listing']"} [debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"5DF5FEFA-DF64-49E3-BBB9-368147460BE8"},"sessionId":"A8D553EF-7EF9-41FA-ABC9-0E5E3CB5DA9B","status":0} [debug] [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"5DF5FEFA-DF64-49E3-BBB9-368147460BE8"} [HTTP] <-- POST /wd/hub/session/9eef8501-8d62-4512-bddc-38fd1e7559c7/element 200 5462 ms - 88 [HTTP]