admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

iPhone Simulator - wd - driver.setOrientation("LANDSCAPE") response 200 Unable To Rotate Device #487

Open amrutab opened 7 years ago

amrutab commented 7 years ago

I cannot rotate my simulator. Please help Here is my code : I am using Typescript/Javascript using "wd"

public async rotateLandscape() { await this._driver.setOrientation("LANDSCAPE"); }

public async rotatePortrait() { await this._driver.setOrientation("PORTRAIT"); }

These are my capabilities :- automationName: "XCUITest", platformName: "iOS", platformVersion: "10.3", deviceName: "iPhone 6", app: MY_APP.app, rotatable: true, noReset: false

Below are my appium logs :

[HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/elements {"using":"accessibility id","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElements() with args: ["accessibility id","app-title","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElements' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/elements] with body: {"using":"accessibility id","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":[{"ELEMENT":"ECFD1F0D-841F-4BD8-846B-F69C6EA98D14","type":"XCUIElementTypeStaticText","label":"DISCOVER"}],"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"ECFD1F0D-841F-4BD8-846B-F69C6EA98D14","type":"XCUIElementTypeStaticText","label":"DISCOVER"}] [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/elements 200 3989 ms - 178 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"3FFB50F4-949F-44F7-8160-EF7698655DCF","type":"XCUIElementTypeStaticText","label":"DISCOVER"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3FFB50F4-949F-44F7-8160-EF7698655DCF","type":"XCUIElementTypeStaticText","label":"DISCOVER"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 1907 ms - 176 [HTTP] --> GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/3FFB50F4-949F-44F7-8160-EF7698655DCF/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/3FFB50F4-949F-44F7-8160-EF7698655DCF/text] to [GET http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/3FFB50F4-949F-44F7-8160-EF7698655DCF/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "DISCOVER",\n "sessionId" : "BB142A36-9EFD-433B-9434-2015DBDA666A",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId BB142A36-9EFD-433B-9434-2015DBDA666A with 834d9b24-35bb-4877-97fc-f62b3895e722 [HTTP] <-- GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/3FFB50F4-949F-44F7-8160-EF7698655DCF/text 200 2279 ms - 82 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"button-menu-open"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","button-menu-open","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"button-menu-open"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"CFB7D4E7-F80A-4E3F-AC2F-B850683AC506","type":"XCUIElementTypeOther","label":null},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"CFB7D4E7-F80A-4E3F-AC2F-B850683AC506","type":"XCUIElementTypeOther","label":null} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 2147 ms - 165 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/touch/click {"element":"CFB7D4E7-F80A-4E3F-AC2F-B850683AC506"} [MJSONWP] Calling AppiumDriver.click() with args: ["CFB7D4E7-F80A-4E3F-AC2F-B850683AC506","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'click' [JSONWP Proxy] Proxying [POST /element/CFB7D4E7-F80A-4E3F-AC2F-B850683AC506/click] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/CFB7D4E7-F80A-4E3F-AC2F-B850683AC506/click] with body: {} [JSONWP Proxy] Got response with status 200: {"status":0,"id":"CFB7D4E7-F80A-4E3F-AC2F-B850683AC506","value":"","sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A"} [MJSONWP] Responding to client with driver.click() result: "" [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/touch/click 200 3485 ms - 74 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"view-burger-menu"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","view-burger-menu","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"view-burger-menu"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"55F689FB-D52A-459B-81DB-42C5C2158B50","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"55F689FB-D52A-459B-81DB-42C5C2158B50","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 1741 ms - 256 [HTTP] --> GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/55F689FB-D52A-459B-81DB-42C5C2158B50/location {} [MJSONWP] Calling AppiumDriver.getLocation() with args: ["55F689FB-D52A-459B-81DB-42C5C2158B50","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'getLocation' [JSONWP Proxy] Proxying [GET /element/55F689FB-D52A-459B-81DB-42C5C2158B50/rect] to [GET http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/55F689FB-D52A-459B-81DB-42C5C2158B50/rect] with no body [JSONWP Proxy] Got response with status 200: "{\n "value" : {\n "y" : 214,\n "x" : 0,\n "width" : 375,\n "height" : 387\n },\n "sessionId" : "BB142A36-9EFD-433B-9434-2015DBDA666A",\n "status" : 0\n}" [MJSONWP] Responding to client with driver.getLocation() result: {"x":0,"y":214} [HTTP] <-- GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/55F689FB-D52A-459B-81DB-42C5C2158B50/location 200 1227 ms - 87 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"#tid menu container open"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","#tid menu container open","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"#tid menu container open"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"AD8D5D41-282B-4D73-B988-E2A78F44AF76","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"AD8D5D41-282B-4D73-B988-E2A78F44AF76","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 1288 ms - 256 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"#tid LIVE menu button"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","#tid LIVE menu button","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"#tid LIVE menu button"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"812A27A5-7947-49E3-8193-CCAC07B82DAE","type":"XCUIElementTypeOther","label":"LIVE"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"812A27A5-7947-49E3-8193-CCAC07B82DAE","type":"XCUIElementTypeOther","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 1295 ms - 167 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/touch/click {"element":"812A27A5-7947-49E3-8193-CCAC07B82DAE"} [MJSONWP] Calling AppiumDriver.click() with args: ["812A27A5-7947-49E3-8193-CCAC07B82DAE","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'click' [JSONWP Proxy] Proxying [POST /element/812A27A5-7947-49E3-8193-CCAC07B82DAE/click] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/812A27A5-7947-49E3-8193-CCAC07B82DAE/click] with body: {} [JSONWP Proxy] Got response with status 200: {"status":0,"id":"812A27A5-7947-49E3-8193-CCAC07B82DAE","value":"","sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A"} [MJSONWP] Responding to client with driver.click() result: "" [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/touch/click 200 2102 ms - 74 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"3BB49ADA-96FD-4C97-93CE-C9CD3012063D","type":"XCUIElementTypeStaticText","label":"LIVE"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3BB49ADA-96FD-4C97-93CE-C9CD3012063D","type":"XCUIElementTypeStaticText","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 353 ms - 172 [HTTP] --> GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/3BB49ADA-96FD-4C97-93CE-C9CD3012063D/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/3BB49ADA-96FD-4C97-93CE-C9CD3012063D/text] to [GET http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/3BB49ADA-96FD-4C97-93CE-C9CD3012063D/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "LIVE",\n "sessionId" : "BB142A36-9EFD-433B-9434-2015DBDA666A",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId BB142A36-9EFD-433B-9434-2015DBDA666A with 834d9b24-35bb-4877-97fc-f62b3895e722 [HTTP] <-- GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/3BB49ADA-96FD-4C97-93CE-C9CD3012063D/text 200 363 ms - 78 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"C405B09E-25C3-450D-AA28-1D172B35A4BD","type":"XCUIElementTypeStaticText","label":"LIVE"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"C405B09E-25C3-450D-AA28-1D172B35A4BD","type":"XCUIElementTypeStaticText","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 380 ms - 172 [HTTP] --> GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/C405B09E-25C3-450D-AA28-1D172B35A4BD/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/C405B09E-25C3-450D-AA28-1D172B35A4BD/text] to [GET http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/C405B09E-25C3-450D-AA28-1D172B35A4BD/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "LIVE",\n "sessionId" : "BB142A36-9EFD-433B-9434-2015DBDA666A",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId BB142A36-9EFD-433B-9434-2015DBDA666A with 834d9b24-35bb-4877-97fc-f62b3895e722 [HTTP] <-- GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/C405B09E-25C3-450D-AA28-1D172B35A4BD/text 200 370 ms - 78 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","834d9b24-35bb-4877-97fc-f62b3895e722"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"63C7D21F-CCD1-4D6F-8AD9-A8E374AFE900","type":"XCUIElementTypeStaticText","label":"LIVE"},"sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"63C7D21F-CCD1-4D6F-8AD9-A8E374AFE900","type":"XCUIElementTypeStaticText","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element 200 1391 ms - 172 [HTTP] --> GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/63C7D21F-CCD1-4D6F-8AD9-A8E374AFE900/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/63C7D21F-CCD1-4D6F-8AD9-A8E374AFE900/text] to [GET http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/element/63C7D21F-CCD1-4D6F-8AD9-A8E374AFE900/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "LIVE",\n "sessionId" : "BB142A36-9EFD-433B-9434-2015DBDA666A",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId BB142A36-9EFD-433B-9434-2015DBDA666A with 834d9b24-35bb-4877-97fc-f62b3895e722 [HTTP] <-- GET /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/element/63C7D21F-CCD1-4D6F-8AD9-A8E374AFE900/text 200 325 ms - 78 [HTTP] --> POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/orientation {"orientation":"LANDSCAPE"} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/orientation] to [POST http://localhost:8100/session/BB142A36-9EFD-433B-9434-2015DBDA666A/orientation] with body: {"orientation":"LANDSCAPE"} [JSONWP Proxy] Got response with status 200: {"value":"Unable To Rotate Device","sessionId":"BB142A36-9EFD-433B-9434-2015DBDA666A","status":777} [JSONWP Proxy] Replacing sessionId BB142A36-9EFD-433B-9434-2015DBDA666A with 834d9b24-35bb-4877-97fc-f62b3895e722 [HTTP] <-- POST /wd/hub/session/834d9b24-35bb-4877-97fc-f62b3895e722/orientation 200 5493 ms - 99 [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"XCUITest","platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone 6","app":"/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app","rotatable":true,"noReset":false}} [MJSONWP] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone 6","app":"/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app","rotatable":true,"noReset":false},null,null] [BaseDriver] Event 'newSessionRequested' logged at 1505403668525 (16:41:08 GMT+0100 (BST)) [Appium] Creating new XCUITestDriver (v2.30.0) session [Appium] Capabilities: [Appium] automationName: 'XCUITest' [Appium] platformName: 'iOS' [Appium] platformVersion: '10.3' [Appium] deviceName: 'iPhone 6' [Appium] app: '/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app' [Appium] rotatable: true [Appium] noReset: false [XCUITest] XCUITestDriver version: 2.30.0 [BaseDriver] The following capabilities were provided, but are not recognized by appium: rotatable. [BaseDriver] Session created with session id: 83e03f22-ad47-48a3-8c19-d440597dc03f [XCUITest] Xcode version set to '8.3.3' (tools v8.3.2.0.1.1492020469) [XCUITest] iOS SDK Version set to '10.3' [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1505403668608 (16:41:08 GMT+0100 (BST)) [iOSSim] Constructing iOS simulator for Xcode version 8.3.3 with udid '91537A5F-FA3C-4121-8073-B48BCC26A260' [XCUITest] Determining device to run tests on: udid: '91537A5F-FA3C-4121-8073-B48BCC26A260', real device: false [BaseDriver] Using local app '/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app' [BaseDriver] Event 'appConfigured' logged at 1505403668900 (16:41:08 GMT+0100 (BST)) [XCUITest] Checking whether app '/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app' is actually present on file system [XCUITest] App is present [iOS] Getting bundle ID from app '/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app': 'com.nagra.blr.MYAPP' [BaseDriver] Event 'resetStarted' logged at 1505403668903 (16:41:08 GMT+0100 (BST)) [XCUITest] Not scrubbing third party app in anticipation of uninstall [BaseDriver] Event 'resetComplete' logged at 1505403669179 (16:41:09 GMT+0100 (BST)) [iOSLog] Starting iOS 10.3 simulator log capture [iOSLog] System log path: /Users/USER_NAME/Library/Logs/CoreSimulator/91537A5F-FA3C-4121-8073-B48BCC26A260/system.log [BaseDriver] Event 'logCaptureStarted' logged at 1505403669394 (16:41:09 GMT+0100 (BST)) [XCUITest] Setting up simulator [iOS] No reason to set locale [iOS] No iOS / app preferences to set [XCUITest] Reset requested. Removing app with id 'com.nagra.blr.MYAPP' from the device [XCUITest] Simulator with udid '91537A5F-FA3C-4121-8073-B48BCC26A260' already booted [BaseDriver] Event 'simStarted' logged at 1505403669833 (16:41:09 GMT+0100 (BST)) [XCUITest] Installing /SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app on Simulator with UUID '91537A5F-FA3C-4121-8073-B48BCC26A260'... [XCUITest] The app has been installed successfully. [BaseDriver] Event 'appInstalled' logged at 1505403676431 (16:41:16 GMT+0100 (BST)) [BaseDriver] Event 'wdaStartAttempted' logged at 1505403676432 (16:41:16 GMT+0100 (BST)) [XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj' [XCUITest] Launching WebDriverAgent on the device [XCUITest] Carthage found: '/usr/local/bin/carthage' [XCUITest] Killing hanging processes [XCUITest] xcodebuild exited with code 'null' and signal 'SIGKILL' [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=91537A5F-FA3C-4121-8073-B48BCC26A260 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.3' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [XCUITest] Output from xcodebuild will not be logged [XCUITest] Waiting up to 60000ms for WebDriverAgent to start [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [XCUITest] Log file for xcodebuild test: /Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/843F2933-A867-42DE-B486-F7D6139A78C9/Session-WebDriverAgentRunner-2017-09-14_164118-DyF4Yq.log [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [JSONWP Proxy] Got response with status 200: "{\n "value" : {\n "state" : "success",\n "os" : {\n "name" : "iOS",\n "version" : "10.3.1"\n },\n "ios" : {\n "simulatorVersion" : "10.3.1",\n "ip" : "10.8.0.2"\n },\n "build" : {\n "time" : "Aug 23 2017 15:16:13"\n }\n },\n "sessionId" : "BE1EBCEC-1960-4679-B664-45ADACFF03C0",\n "status" : 0\n}" [XCUITest] WebDriverAgent running on ip '10.8.0.2' [XCUITest] WebDriverAgent successfully started after 8224ms [BaseDriver] Event 'wdaSessionAttempted' logged at 1505403684927 (16:41:24 GMT+0100 (BST)) [XCUITest] Sending createSession command to WDA [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.nagra.blr.MYAPP","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}} [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"10.3.1","CFBundleIdentifier":"local.pid.79348"}},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [BaseDriver] Event 'wdaSessionStarted' logged at 1505403687903 (16:41:27 GMT+0100 (BST)) [XCUITest] Found WDA derived data folder: '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs' [XCUITest] Setting '555' permissions to '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Attachments' folder [XCUITest] Found WDA derived data folder: '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-hipnwktjyoqzukdafcqwvhtnvhdk' [XCUITest] Setting '555' permissions to '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-hipnwktjyoqzukdafcqwvhtnvhdk/Logs/Test/Attachments' folder [BaseDriver] Event 'wdaPermsAdjusted' logged at 1505403687908 (16:41:27 GMT+0100 (BST)) [BaseDriver] Event 'wdaStarted' logged at 1505403687908 (16:41:27 GMT+0100 (BST)) [XCUITest] Setting initial orientation to 'PORTRAIT' [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/orientation] with body: {"orientation":"PORTRAIT"} [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [BaseDriver] Event 'orientationSet' logged at 1505403688637 (16:41:28 GMT+0100 (BST)) [Appium] New XCUITestDriver session created successfully, session 83e03f22-ad47-48a3-8c19-d440597dc03f added to master session list [BaseDriver] Event 'newSessionStarted' logged at 1505403688638 (16:41:28 GMT+0100 (BST)) [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"automationName":"XCUITest","platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone 6","app":"/SOME_LOCATION//ios/_build/Build/Products/Release-iphonesimulator/MYAPP.app","rotatable":true,"noReset":false,"udid":"91537A5F-FA3C-4121-8073-B48BCC26A260"} [HTTP] <-- POST /wd/hub/session 200 20116 ms - 593 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/elements {"using":"accessibility id","value":"Allow"} [MJSONWP] Calling AppiumDriver.findElements() with args: ["accessibility id","Allow","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElements' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/elements] with body: {"using":"accessibility id","value":"Allow"} [JSONWP Proxy] Got response with status 200: {"value":[{"ELEMENT":"32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9","type":"XCUIElementTypeButton","label":"Allow"}],"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9","type":"XCUIElementTypeButton","label":"Allow"}] [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/elements 200 750 ms - 171 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/touch/click {"element":"32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9"} [MJSONWP] Calling AppiumDriver.click() with args: ["32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'click' [JSONWP Proxy] Proxying [POST /element/32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9/click] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9/click] with body: {} [JSONWP Proxy] Got response with status 200: {"status":0,"id":"32B0D350-CD03-4FD9-AAE2-A9F8D9CE27F9","value":"","sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25"} [MJSONWP] Responding to client with driver.click() result: "" [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/touch/click 200 948 ms - 74 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/elements {"using":"accessibility id","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElements() with args: ["accessibility id","app-title","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElements' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/elements] with body: {"using":"accessibility id","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":[],"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElements() result: [] [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/elements 200 846 ms - 74 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/elements {"using":"accessibility id","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElements() with args: ["accessibility id","app-title","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElements' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/elements] with body: {"using":"accessibility id","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":[{"ELEMENT":"16A739F5-68D4-4D0E-ADCB-F1F4A5A9ED59","type":"XCUIElementTypeStaticText","label":"DISCOVER"}],"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"16A739F5-68D4-4D0E-ADCB-F1F4A5A9ED59","type":"XCUIElementTypeStaticText","label":"DISCOVER"}] [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/elements 200 3181 ms - 178 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"BCFD78C0-FE88-4FA6-B562-537589BA5792","type":"XCUIElementTypeStaticText","label":"DISCOVER"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"BCFD78C0-FE88-4FA6-B562-537589BA5792","type":"XCUIElementTypeStaticText","label":"DISCOVER"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 1464 ms - 176 [HTTP] --> GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/BCFD78C0-FE88-4FA6-B562-537589BA5792/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/BCFD78C0-FE88-4FA6-B562-537589BA5792/text] to [GET http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/BCFD78C0-FE88-4FA6-B562-537589BA5792/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "DISCOVER",\n "sessionId" : "6E2C62D3-9C3E-4108-81B0-7A4393BEBF25",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId 6E2C62D3-9C3E-4108-81B0-7A4393BEBF25 with 83e03f22-ad47-48a3-8c19-d440597dc03f [HTTP] <-- GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/BCFD78C0-FE88-4FA6-B562-537589BA5792/text 200 1443 ms - 82 [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 834d9b24-35bb-4877-97fc-f62b3895e722 from our master session list [XCUITest] Shutting down sub-processes [XCUITest] Found WDA derived data folder: '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs' [XCUITest] Setting '755' permissions to '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Attachments' folder [XCUITest] Found WDA derived data folder: '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-hipnwktjyoqzukdafcqwvhtnvhdk' [XCUITest] Setting '755' permissions to '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-hipnwktjyoqzukdafcqwvhtnvhdk/Logs/Test/Attachments' folder [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on. [iOSLog] Stopping iOS log capture [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"button-menu-open"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","button-menu-open","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"button-menu-open"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"0C245E35-025F-4FDE-8704-B2ACF8A22B3A","type":"XCUIElementTypeOther","label":null},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"0C245E35-025F-4FDE-8704-B2ACF8A22B3A","type":"XCUIElementTypeOther","label":null} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 2054 ms - 165 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/touch/click {"element":"0C245E35-025F-4FDE-8704-B2ACF8A22B3A"} [MJSONWP] Calling AppiumDriver.click() with args: ["0C245E35-025F-4FDE-8704-B2ACF8A22B3A","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'click' [JSONWP Proxy] Proxying [POST /element/0C245E35-025F-4FDE-8704-B2ACF8A22B3A/click] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/0C245E35-025F-4FDE-8704-B2ACF8A22B3A/click] with body: {} [JSONWP Proxy] Got response with status 200: {"status":0,"id":"0C245E35-025F-4FDE-8704-B2ACF8A22B3A","value":"","sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25"} [MJSONWP] Responding to client with driver.click() result: "" [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/touch/click 200 3299 ms - 74 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"view-burger-menu"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","view-burger-menu","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"view-burger-menu"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"8967441E-0F95-4059-AAF0-18BE321C026F","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"8967441E-0F95-4059-AAF0-18BE321C026F","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 1658 ms - 256 [HTTP] --> GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/8967441E-0F95-4059-AAF0-18BE321C026F/location {} [MJSONWP] Calling AppiumDriver.getLocation() with args: ["8967441E-0F95-4059-AAF0-18BE321C026F","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'getLocation' [JSONWP Proxy] Proxying [GET /element/8967441E-0F95-4059-AAF0-18BE321C026F/rect] to [GET http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/8967441E-0F95-4059-AAF0-18BE321C026F/rect] with no body [JSONWP Proxy] Got response with status 200: "{\n "value" : {\n "y" : 214,\n "x" : 0,\n "width" : 375,\n "height" : 387\n },\n "sessionId" : "6E2C62D3-9C3E-4108-81B0-7A4393BEBF25",\n "status" : 0\n}" [MJSONWP] Responding to client with driver.getLocation() result: {"x":0,"y":214} [HTTP] <-- GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/8967441E-0F95-4059-AAF0-18BE321C026F/location 200 1188 ms - 87 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"#tid menu container open"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","#tid menu container open","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"#tid menu container open"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"BFBA2EC7-0A40-40C0-AD98-4B12621B2F87","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"BFBA2EC7-0A40-40C0-AD98-4B12621B2F87","type":"XCUIElementTypeOther","label":"DISCOVER LIVE SAVED RECENT NEXTREEL WATCH WITH ME VIRTUAL KEYBOARD REMOTE CONTROL SETTINGS"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 1230 ms - 256 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"#tid LIVE menu button"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","#tid LIVE menu button","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"#tid LIVE menu button"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"B66F92FF-BEC1-4ADD-BF30-5C8BA6370137","type":"XCUIElementTypeOther","label":"LIVE"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"B66F92FF-BEC1-4ADD-BF30-5C8BA6370137","type":"XCUIElementTypeOther","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 1312 ms - 167 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/touch/click {"element":"B66F92FF-BEC1-4ADD-BF30-5C8BA6370137"} [MJSONWP] Calling AppiumDriver.click() with args: ["B66F92FF-BEC1-4ADD-BF30-5C8BA6370137","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'click' [JSONWP Proxy] Proxying [POST /element/B66F92FF-BEC1-4ADD-BF30-5C8BA6370137/click] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/B66F92FF-BEC1-4ADD-BF30-5C8BA6370137/click] with body: {} [JSONWP Proxy] Got response with status 200: {"status":0,"id":"B66F92FF-BEC1-4ADD-BF30-5C8BA6370137","value":"","sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25"} [MJSONWP] Responding to client with driver.click() result: "" [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/touch/click 200 2027 ms - 74 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"A7AB4D00-18A3-4CD8-A047-D6C03150BFA6","type":"XCUIElementTypeStaticText","label":"LIVE"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"A7AB4D00-18A3-4CD8-A047-D6C03150BFA6","type":"XCUIElementTypeStaticText","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 385 ms - 172 [HTTP] --> GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/A7AB4D00-18A3-4CD8-A047-D6C03150BFA6/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/A7AB4D00-18A3-4CD8-A047-D6C03150BFA6/text] to [GET http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/A7AB4D00-18A3-4CD8-A047-D6C03150BFA6/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "LIVE",\n "sessionId" : "6E2C62D3-9C3E-4108-81B0-7A4393BEBF25",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId 6E2C62D3-9C3E-4108-81B0-7A4393BEBF25 with 83e03f22-ad47-48a3-8c19-d440597dc03f [HTTP] <-- GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/A7AB4D00-18A3-4CD8-A047-D6C03150BFA6/text 200 342 ms - 78 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"0763EBCF-F9C8-43AC-9AAC-C327A44CDEF2","type":"XCUIElementTypeStaticText","label":"LIVE"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"0763EBCF-F9C8-43AC-9AAC-C327A44CDEF2","type":"XCUIElementTypeStaticText","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 398 ms - 172 [HTTP] --> GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/0763EBCF-F9C8-43AC-9AAC-C327A44CDEF2/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/0763EBCF-F9C8-43AC-9AAC-C327A44CDEF2/text] to [GET http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/0763EBCF-F9C8-43AC-9AAC-C327A44CDEF2/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "LIVE",\n "sessionId" : "6E2C62D3-9C3E-4108-81B0-7A4393BEBF25",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId 6E2C62D3-9C3E-4108-81B0-7A4393BEBF25 with 83e03f22-ad47-48a3-8c19-d440597dc03f [HTTP] <-- GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/0763EBCF-F9C8-43AC-9AAC-C327A44CDEF2/text 200 355 ms - 78 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element {"using":"name","value":"app-title"} [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","app-title","83e03f22-ad47-48a3-8c19-d440597dc03f"] [XCUITest] Executing command 'findElement' [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element] with body: {"using":"name","value":"app-title"} [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"3466CC10-99DC-4CD9-BA41-511EAC9A691E","type":"XCUIElementTypeStaticText","label":"LIVE"},"sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":0} [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3466CC10-99DC-4CD9-BA41-511EAC9A691E","type":"XCUIElementTypeStaticText","label":"LIVE"} [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element 200 399 ms - 172 [HTTP] --> GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/3466CC10-99DC-4CD9-BA41-511EAC9A691E/text {} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/3466CC10-99DC-4CD9-BA41-511EAC9A691E/text] to [GET http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/element/3466CC10-99DC-4CD9-BA41-511EAC9A691E/text] with body: {} [JSONWP Proxy] Got response with status 200: "{\n "value" : "LIVE",\n "sessionId" : "6E2C62D3-9C3E-4108-81B0-7A4393BEBF25",\n "status" : 0\n}" [JSONWP Proxy] Replacing sessionId 6E2C62D3-9C3E-4108-81B0-7A4393BEBF25 with 83e03f22-ad47-48a3-8c19-d440597dc03f [HTTP] <-- GET /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/element/3466CC10-99DC-4CD9-BA41-511EAC9A691E/text 200 350 ms - 78 [HTTP] --> POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/orientation {"orientation":"LANDSCAPE"} [MJSONWP] Driver proxy active, passing request on via HTTP proxy [XCUITest] Executing command 'proxyReqRes' [JSONWP Proxy] Proxying [POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/orientation] to [POST http://localhost:8100/session/6E2C62D3-9C3E-4108-81B0-7A4393BEBF25/orientation] with body: {"orientation":"LANDSCAPE"} [JSONWP Proxy] Got response with status 200: {"value":"Unable To Rotate Device","sessionId":"6E2C62D3-9C3E-4108-81B0-7A4393BEBF25","status":777} [JSONWP Proxy] Replacing sessionId 6E2C62D3-9C3E-4108-81B0-7A4393BEBF25 with 83e03f22-ad47-48a3-8c19-d440597dc03f [HTTP] <-- POST /wd/hub/session/83e03f22-ad47-48a3-8c19-d440597dc03f/orientation 200 5477 ms - 99 [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 83e03f22-ad47-48a3-8c19-d440597dc03f from our master session list [XCUITest] Shutting down sub-processes [XCUITest] Shutting down xcodebuild process (pid 8068) [XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM' [XCUITest] Found WDA derived data folder: '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs' [XCUITest] Setting '755' permissions to '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Attachments' folder [XCUITest] Found WDA derived data folder: '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-hipnwktjyoqzukdafcqwvhtnvhdk' [XCUITest] Setting '755' permissions to '/Users/USER_NAME/Library/Developer/Xcode/DerivedData/WebDriverAgent-hipnwktjyoqzukdafcqwvhtnvhdk/Logs/Test/Attachments' folder [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on. [iOSLog] Stopping iOS log capture