{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/10201","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/10201/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/10201/comments","events_url":"https://api.github.com/repos/appium/appium/issues/10201/events","html_url":"https://github.com/appium/appium/issues/10201","id":297375895,"number":10201,"title":"Appium does not pick up system Simulator automatically if it is in Paired Devices group","user":{"login":"varaprasad-pakalapati","id":8025742,"avatar_url":"https://avatars0.githubusercontent.com/u/8025742?v=4","gravatar_id":"","url":"https://api.github.com/users/varaprasad-pakalapati","html_url":"https://github.com/varaprasad-pakalapati","followers_url":"https://api.github.com/users/varaprasad-pakalapati/followers","following_url":"https://api.github.com/users/varaprasad-pakalapati/following{/other_user}","gists_url":"https://api.github.com/users/varaprasad-pakalapati/gists{/gist_id}","starred_url":"https://api.github.com/users/varaprasad-pakalapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varaprasad-pakalapati/subscriptions","organizations_url":"https://api.github.com/users/varaprasad-pakalapati/orgs","repos_url":"https://api.github.com/users/varaprasad-pakalapati/repos","events_url":"https://api.github.com/users/varaprasad-pakalapati/events{/privacy}","received_events_url":"https://api.github.com/users/varaprasad-pakalapati/received_events","type":"User","site_admin":false},"labels":[{"id":24368808,"url":"https://api.github.com/repos/appium/appium/labels/Enhancement","name":"Enhancement","color":"ffaa33","default":false},{"id":34328471,"url":"https://api.github.com/repos/appium/appium/labels/iOS","name":"iOS","color":"444444","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-15T09:22:32Z","updated_at":"2018-02-15T12:32:02Z","closed_at":null,"author_association":"NONE","body":"## The problem\r\n\r\nI am trying to run the iOS tests on already opened simulator (same capabilities as provided in the test - deviceName: iPhone 7 Plus, platformVersion: 10.3). But every time test is opening new simulator with name ‘appiumTest-’, but executing the test on already opened simulator.\r\n\r\nI have set the fullReset capability to ‘false’, but no luck\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.7.1\r\n* Last Appium version that did not exhibit the issue (if applicable):\r\n* Node.js version (unless using Appium.app|exe): 6.11.3\r\n* Mobile platform/version under test: iOS 10.3\r\n* Real device or emulator/simulator: simulator\r\n* Appium CLI or Appium.app|exe:\r\n\r\n\r\n## Link to Appium logs\r\n\r\nBelow is the log:\r\n\r\n[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:“false”,“deviceName”:“iPhone 7 Plus”,“fullReset”:“false”,“newCommandTimeout”:“3600”,“noReset”:“true”,“platformName”:“iOS”,“platformVersion”:“10.3”},“capabilities”:{“desiredCapabilities”:{“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:“false”,“deviceName”:“iPhone 7 Plus”,“fullReset”:“false”,“newCommandTimeout”:“3600”,“noReset”:“true”,“platformName”:“iOS”,“platformVersion”:“10.3”},“firstMatch”:[{“platformName”:“ios”}]}}\r\n[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:“false”,“deviceName”:“iPhone 7 Plus”,“fullReset”:“false”,“newCommandTimeout”:“3600”,“noReset”:“true”,“platformName”:“iOS”,“platformVersion”:“10.3”},null,{“desiredCapabilities”:{“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:“false”,“deviceName”:“iPhone 7 Plus”,“fullReset”:“false”,“newCommandTimeout”:“3600”,“noReset”:“true”,“platformName”:“iOS”,“platformVersion”:“10.3”},“firstMatch”:[{“platformName”:“ios”}]}]\r\n[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1518174985926 (11:16:25 GMT+0000 (GMT))\r\n[Appium] Merged W3C capabilities {“desiredCapabilities”:{“app”:\"/Users/c0250543/… into desiredCapabilities object {“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\"…\r\n[Appium] Creating new XCUITestDriver (v2.64.0) session\r\n[Appium] Capabilities:\r\n[Appium] app: /Users/c0250543/Wallet Apps/Wallet.app\r\n[Appium] automationName: XCUITEST\r\n[Appium] connectHardwareKeyboard: false\r\n[Appium] deviceName: iPhone 7 Plus\r\n[Appium] fullReset: false\r\n[Appium] newCommandTimeout: 3600\r\n[Appium] noReset: true\r\n[Appium] platformName: ios\r\n[Appium] platformVersion: 10.3\r\n[BaseDriver] Capability ‘noReset’ changed from string to boolean. This may cause unexpected behavior\r\n[BaseDriver] Capability ‘fullReset’ changed from string to boolean. This may cause unexpected behavior\r\n[BaseDriver] Capability ‘connectHardwareKeyboard’ changed from string to boolean. This may cause unexpected behavior\r\n[BaseDriver] Capability ‘newCommandTimeout’ changed from string (‘3600’) to integer (3600). This may cause unexpected behavior\r\n[BaseDriver] Session created with session id: 84e21c40-e657-450d-8216-7fb2cd8dd1fb\r\n[debug] [XCUITest] Current user: ‘c0250543’\r\n[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD\r\n[debug] [XCUITest] Xcode version set to ‘9.0’ (tools v9.1.0.0.1.1508540944)\r\n[debug] [XCUITest] iOS SDK Version set to ‘11.0’\r\n[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1518174986661 (11:16:26 GMT+0000 (GMT))\r\n[XCUITest] Simulator udid not provided, using desired caps to create a new simulator\r\n[debug] [simctl] Creating simulator with name ‘appiumTest-84e21c40-e657-450d-8216-7fb2cd8dd1fb’, device type id ‘iPhone 7 Plus’ and runtime id ‘10.3.1’\r\n[iOSSim] Constructing iOS simulator for Xcode version 9.0 with udid ‘88EF20D3-48DA-49E8-9626-40463E0E3BF2’\r\n[XCUITest] Created simulator with udid ‘88EF20D3-48DA-49E8-9626-40463E0E3BF2’.\r\n[XCUITest] Determining device to run tests on: udid: ‘88EF20D3-48DA-49E8-9626-40463E0E3BF2’, real device: false\r\n[BaseDriver] Using local app ‘/Users/c0250543/Wallet Apps/Wallet.app’\r\n[debug] [BaseDriver] Event ‘appConfigured’ logged at 1518174988290 (11:16:28 GMT+0000 (GMT))\r\n[debug] [XCUITest] Checking whether app ‘/Users/c0250543/Wallet Apps/Wallet.app’ is actually present on file system\r\n[debug] [XCUITest] App is present\r\n[debug] [iOS] Getting bundle ID from app ‘/Users/c0250543/Wallet Apps/Wallet.app’: ‘uk.co.santander.wallet’\r\n[debug] [BaseDriver] Event ‘resetStarted’ logged at 1518174988292 (11:16:28 GMT+0000 (GMT))\r\n[debug] [XCUITest] Reset: noReset is on. Leaving simulator as is\r\n[debug] [BaseDriver] Event ‘resetComplete’ logged at 1518174988292 (11:16:28 GMT+0000 (GMT))\r\n[XCUITest] Continuing without capturing logs: iOS Simulator with udid 88EF20D3-48DA-49E8-9626-40463E0E3BF2 is not running\r\n[XCUITest] Setting up simulator\r\n[debug] [iOS] No reason to set locale\r\n[debug] [iOS] No iOS / app preferences to set\r\n[debug] [iOSSim] No Simulator cache items for cleanup were matched in ‘/Users/c0250543/Library/Developer/CoreSimulator/Devices/88EF20D3-48DA-49E8-9626-40463E0E3BF2/data/Library/Caches’\r\n[debug] [iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:false}\r\n[debug] [iOSSim] Updated 88EF20D3-48DA-49E8-9626-40463E0E3BF2 Simulator preferences at ‘/Users/c0250543/Library/Preferences/com.apple.iphonesimulator.plist’ with {“ConnectHardwareKeyboard”:false}\r\n[debug] [iOSSim] The count of running Simulator UI client instances is 1\r\n[iOSSim] Booting Simulator with UDID 88EF20D3-48DA-49E8-9626-40463E0E3BF2…\r\n[iOSSim] Simulator with UDID 88EF20D3-48DA-49E8-9626-40463E0E3BF2 booted in 21 seconds\r\n[debug] [BaseDriver] Event ‘simStarted’ logged at 1518175009985 (11:16:49 GMT+0000 (GMT))\r\n[XCUITest] Continuing without capturing logs: iOS Simulator with udid 88EF20D3-48DA-49E8-9626-40463E0E3BF2 is not running\r\n[debug] [XCUITest] Installing ‘/Users/c0250543/Wallet Apps/Wallet.app’ on Simulator with UUID ‘88EF20D3-48DA-49E8-9626-40463E0E3BF2’…\r\n[debug] [XCUITest] The app has been installed successfully.\r\n[debug] [BaseDriver] Event ‘appInstalled’ logged at 1518175017829 (11:16:57 GMT+0000 (GMT))\r\n[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’\r\n[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’\r\n[XCUITest] Detected 1 obsolete cached process from previous WDA sessions. Cleaning up…\r\n[XCUITest] Failed to kill obsolete cached process ‘61536’. Original error:\r\nError: Killing process 61536 failed:\r\nat Promise.all.then (/usr/local/lib/node_modules/appium/node_modules/fkill/index.js:68:10)\r\n[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n “state” : “success”,\\n “os” : {\\n “name” : “iOS”,\\n “version” : “10.3.1”,\\n “sdkVersion” : “11.0”\\n },\\n “ios” : {\\n “simulatorVersion” : “10.3.1”,\\n “ip” : “180.161.125.91”\\n },\\n “build” : {\\n “time” : “Feb 9 2018 11:01:31”\\n }\\n },\\n “sessionId” : “0D135003-30AD-4122-A054-B2A045F1C6BD”,\\n “status” : 0\\n}”\r\n[XCUITest] Will reuse previously cached WDA instance at ‘http://localhost:8100/’. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.\r\n[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1518175017982 (11:16:57 GMT+0000 (GMT))\r\n[XCUITest] Using provided WebdriverAgent at ‘http://localhost:8100/’\r\n[debug] [BaseDriver] Event ‘wdaSessionAttempted’ logged at 1518175017983 (11:16:57 GMT+0000 (GMT))\r\n[debug] [XCUITest] Sending createSession command to WDA\r\n[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n “state” : “success”,\\n “os” : {\\n “name” : “iOS”,\\n “version” : “10.3.1”,\\n “sdkVersion” : “11.0”\\n },\\n “ios” : {\\n “simulatorVersion” : “10.3.1”,\\n “ip” : “180.161.125.91”\\n },\\n “build” : {\\n “time” : “Feb 9 2018 11:01:31”\\n }\\n },\\n “sessionId” : “0D135003-30AD-4122-A054-B2A045F1C6BD”,\\n “status” : 0\\n}”\r\n[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“uk.co.santander.wallet”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:{“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“capabilities”:{“device”:“iphone”,“browserName”:“Wallet”,“sdkVersion”:“10.3.1”,“CFBundleIdentifier”:“uk.co.santander.wallet”}},“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [BaseDriver] Event ‘wdaSessionStarted’ logged at 1518175019547 (11:16:59 GMT+0000 (GMT))\r\n[debug] [BaseDriver] Event ‘wdaStarted’ logged at 1518175019547 (11:16:59 GMT+0000 (GMT))\r\n[XCUITest] Skipping setting of the initial display orientation. Set the “orientation” capability to either “LANDSCAPE” or “PORTRAIT”, if this is an undesired behavior.\r\n[debug] [BaseDriver] Event ‘orientationSet’ logged at 1518175019547 (11:16:59 GMT+0000 (GMT))\r\n[Appium] New XCUITestDriver session created successfully, session 84e21c40-e657-450d-8216-7fb2cd8dd1fb added to master session list\r\n[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1518175019548 (11:16:59 GMT+0000 (GMT))\r\n[debug] [MJSONWP] Responding to client with driver.createSession() result: {“webStorageEnabled”:false,“locationContextEnabled”:false,“browserName”:\"\",“platform”:“MAC”,“javascriptEnabled”:true,“databaseEnabled”:false,“takesScreenshot”:true,“networkConnectionEnabled”:false,“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:false,“deviceName”:“iPhone 7 Plus”,“fullReset”:false,“newCommandTimeout”:3600,“noReset”:true,“platformName”:“ios”,“platformVersion”:“10.3”,“udid”:“88EF20D3-48DA-49E8-9626-40463E0E3BF2”}\r\n[HTTP] <-- POST /wd/hub/session 200 33624 ms - 555\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements {“using”:“id”,“value”:“SKIP”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“SKIP”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElements’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/elements] with body: {“using”:“id”,“value”:“SKIP”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElements() result: []\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements 200 106 ms - 74\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements {“using”:“id”,“value”:“SKIP”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“SKIP”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElements’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/elements] with body: {“using”:“id”,“value”:“SKIP”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElements() result: []\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements 200 93 ms - 74\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements {“using”:“id”,“value”:“SKIP”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“SKIP”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElements’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/elements] with body: {“using”:“id”,“value”:“SKIP”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElements() result: []\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements 200 92 ms - 74\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements {“using”:“id”,“value”:“SKIP”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“SKIP”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElements’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/elements] with body: {“using”:“id”,“value”:“SKIP”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElements() result: []\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements 200 91 ms - 74\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements {“using”:“id”,“value”:“SKIP”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“SKIP”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElements’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/elements] with body: {“using”:“id”,“value”:“SKIP”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElements() result: []\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements 200 95 ms - 74\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements {“using”:“id”,“value”:“SKIP”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“SKIP”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElements’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/elements] with body: {“using”:“id”,“value”:“SKIP”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElements() result: []\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/elements 200 91 ms - 74\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/element {“using”:“id”,“value”:“pidTextField”}\r\n[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“pidTextField”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘findElement’\r\n[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/element] with body: {“using”:“id”,“value”:“pidTextField”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:{“ELEMENT”:“1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E”},“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E”}\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/element 200 90 ms - 122\r\n[HTTP] --> GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb {}\r\n[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: [“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘getSession’\r\n[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “capabilities” : {\\n “device” : “iphone”,\\n “browserName” : “Wallet”,\\n “sdkVersion” : “10.3.1”,\\n “CFBundleIdentifier” : “uk.co.santander.wallet”\\n }\\n },\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “status” : 0\\n}”\r\n[XCUITest] Merging WDA caps over Appium caps for session detail response\r\n[debug] [MJSONWP] Responding to client with driver.getSession() result: {“udid”:“88EF20D3-48DA-49E8-9626-40463E0E3BF2”,“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:false,“deviceName”:“iPhone 7 Plus”,“fullReset”:false,“newCommandTimeout”:3600,“noReset”:true,“platformName”:“ios”,“platformVersion”:“10.3”,“device”:“iphone”,“browserName”:“Wallet”,“sdkVersion”:“10.3.1”,“CFBundleIdentifier”:“uk.co.santander.wallet”}\r\n[HTTP] <-- GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb 200 70 ms - 468\r\n[HTTP] --> GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb {}\r\n[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: [“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘getSession’\r\n[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “capabilities” : {\\n “device” : “iphone”,\\n “browserName” : “Wallet”,\\n “sdkVersion” : “10.3.1”,\\n “CFBundleIdentifier” : “uk.co.santander.wallet”\\n }\\n },\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “status” : 0\\n}”\r\n[XCUITest] Merging WDA caps over Appium caps for session detail response\r\n[debug] [MJSONWP] Responding to client with driver.getSession() result: {“udid”:“88EF20D3-48DA-49E8-9626-40463E0E3BF2”,“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:false,“deviceName”:“iPhone 7 Plus”,“fullReset”:false,“newCommandTimeout”:3600,“noReset”:true,“platformName”:“ios”,“platformVersion”:“10.3”,“device”:“iphone”,“browserName”:“Wallet”,“sdkVersion”:“10.3.1”,“CFBundleIdentifier”:“uk.co.santander.wallet”}\r\n[HTTP] <-- GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb 200 71 ms - 468\r\n[HTTP] --> GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb {}\r\n[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: [“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘getSession’\r\n[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “capabilities” : {\\n “device” : “iphone”,\\n “browserName” : “Wallet”,\\n “sdkVersion” : “10.3.1”,\\n “CFBundleIdentifier” : “uk.co.santander.wallet”\\n }\\n },\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “status” : 0\\n}”\r\n[XCUITest] Merging WDA caps over Appium caps for session detail response\r\n[debug] [MJSONWP] Responding to client with driver.getSession() result: {“udid”:“88EF20D3-48DA-49E8-9626-40463E0E3BF2”,“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:false,“deviceName”:“iPhone 7 Plus”,“fullReset”:false,“newCommandTimeout”:3600,“noReset”:true,“platformName”:“ios”,“platformVersion”:“10.3”,“device”:“iphone”,“browserName”:“Wallet”,“sdkVersion”:“10.3.1”,“CFBundleIdentifier”:“uk.co.santander.wallet”}\r\n[HTTP] <-- GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb 200 87 ms - 468\r\n[HTTP] --> GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb {}\r\n[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: [“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘getSession’\r\n[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “capabilities” : {\\n “device” : “iphone”,\\n “browserName” : “Wallet”,\\n “sdkVersion” : “10.3.1”,\\n “CFBundleIdentifier” : “uk.co.santander.wallet”\\n }\\n },\\n “sessionId” : “7A91D432-9269-44F7-B6A7-25121DE8E02F”,\\n “status” : 0\\n}”\r\n[XCUITest] Merging WDA caps over Appium caps for session detail response\r\n[debug] [MJSONWP] Responding to client with driver.getSession() result: {“udid”:“88EF20D3-48DA-49E8-9626-40463E0E3BF2”,“app”:\"/Users/c0250543/Wallet Apps/Wallet.app\",“automationName”:“XCUITEST”,“connectHardwareKeyboard”:false,“deviceName”:“iPhone 7 Plus”,“fullReset”:false,“newCommandTimeout”:3600,“noReset”:true,“platformName”:“ios”,“platformVersion”:“10.3”,“device”:“iphone”,“browserName”:“Wallet”,“sdkVersion”:“10.3.1”,“CFBundleIdentifier”:“uk.co.santander.wallet”}\r\n[HTTP] <-- GET /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb 200 80 ms - 468\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/element/1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E/click {“id”:“1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E”}\r\n[MJSONWP] Driver proxy active, passing request on via HTTP proxy\r\n[debug] [XCUITest] Executing command ‘proxyReqRes’\r\n[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/element/1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E/click] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/element/1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E/click] with body: {“id”:“1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“status”:0,“id”:“1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E”,“value”:\"\",“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”}\r\n[JSONWP Proxy] Replacing sessionId 7A91D432-9269-44F7-B6A7-25121DE8E02F with 84e21c40-e657-450d-8216-7fb2cd8dd1fb\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/element/1FE34B77-7152-472D-9BAF-9E5DBB4B4E1E/click 200 760 ms - 118\r\n[HTTP] --> POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/appium/device/hide_keyboard {“keyName”:“tapOutside”}\r\n[debug] [MJSONWP] Calling AppiumDriver.hideKeyboard() with args: [null,null,null,“tapOutside”,“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [XCUITest] Executing command ‘hideKeyboard’\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/element] with body: {“using”:“class name”,“value”:“XCUIElementTypeKeyboard”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:{“ELEMENT”:“5047477C-14DD-4DB3-8634-A053BA5D3B58”},“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [BaseDriver] Waiting up to 0 ms for condition\r\n[debug] [JSONWP Proxy] Proxying [POST /element/5047477C-14DD-4DB3-8634-A053BA5D3B58/elements] to [POST http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F/element/5047477C-14DD-4DB3-8634-A053BA5D3B58/elements] with body: {“using”:“accessibility id”,“value”:“tapOutside”}\r\n[debug] [JSONWP Proxy] Got response with status 200: {“value”:[],“sessionId”:“7A91D432-9269-44F7-B6A7-25121DE8E02F”,“status”:0}\r\n[debug] [MJSONWP] Responding to client with driver.hideKeyboard() result: null\r\n[HTTP] <-- POST /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb/appium/device/hide_keyboard 200 344 ms - 76\r\n[HTTP] --> DELETE /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb {}\r\n[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: [“84e21c40-e657-450d-8216-7fb2cd8dd1fb”]\r\n[debug] [BaseDriver] Event ‘quitSessionRequested’ logged at 1518175024638 (11:17:04 GMT+0000 (GMT))\r\n[Appium] Removing session 84e21c40-e657-450d-8216-7fb2cd8dd1fb from our master session list\r\n[debug] [JSONWP Proxy] Proxying [DELETE /session/84e21c40-e657-450d-8216-7fb2cd8dd1fb] to [DELETE http://localhost:8100/session/7A91D432-9269-44F7-B6A7-25121DE8E02F] with no body\r\n[debug] [JSONWP Proxy] Got response with status 200: “{\\n “value” : {\\n\\n },\\n “sessionId” : “62C860F1-01F7-45C7-B54E-E6C52DC87214”,\\n “status” : 0\\n}”\r\n[debug] [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.\r\n[debug] [iOSLog] Stopping iOS log capture\r\n[debug] [BaseDriver] Event ‘quitSessionFinished’ logged at 1518175024876 (11:17:04 GMT+0000 (GMT))\r\n[debug] [MJSONWP] Received response: null\r\n[debug] [MJSONWP] But deleting session, so not returning\r\n[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null\r\n[HTTP] <-- DELETE /wd/hub/session/84e21c40-e657-450d-8216-7fb2cd8dd1fb 200 240 ms - 76\r\n\r\n## xcrun simctl list:\r\n\r\nPKMOSXT47HG8WNP:~ c0250543$ xcrun simctl list | grep 'iPhone 7 Plus’\r\niPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)\r\niPhone 7 Plus (10E52DA7-4B86-4547-AFC0-3F540F0DE026) (Shutdown)\r\niPhone 7 Plus (15B4D8C9-2E98-4FFB-8BFD-A048C5471D02) (Shutdown)\r\niPhone 7 Plus (A8CA38AF-727F-4D29-8EF0-DFA02445BA9C) (Shutdown) (unavailable, runtime profile not found)\r\nPhone: iPhone 7 Plus (15B4D8C9-2E98-4FFB-8BFD-A048C5471D02) (Shutdown)\r\nPhone: iPhone 7 Plus (7EBB3C18-05A3-48E7-ADBB-581E553E8AEF) (Booted)\r\nPhone: iPhone 7 Plus (A8CA38AF-727F-4D29-8EF0-DFA02445BA9C) (Shutdown)\r\n\r\n## Capabilities I am using:\r\n\r\nappium.localIOS.app=/Users/c0250543/Wallet Apps/Wallet.app\r\nappium.localIOS.platformName=ios\r\nappium.localIOS.platformVersion=10.3\r\nappium.localIOS.deviceName=iPhone 7 Plus\r\nappium.localIOS.newCommandTimeout=3600\r\nappium.localIOS.automationName=XCUITEST\r\nappium.localIOS.connectHardwareKeyboard=false\r\nappium.localIOS.noReset=true\r\nappium.localIOS.fullReset=false\r\nappium.localIOS.udid=7EBB3C18-05A3-48E7-ADBB-581E553E8AEF"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/365913783","html_url":"https://github.com/appium/appium/issues/10201#issuecomment-365913783","issue_url":"https://api.github.com/repos/appium/appium/issues/10201","id":365913783,"user":{"login":"mykola-mokhnach","id":7767781,"avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T12:32:02Z","updated_at":"2018-02-15T12:32:02Z","author_association":"COLLABORATOR","body":"I've just checked it on my machine and all the paired devices are also visible in the corresponding iOS version groups. It might be that your local simulator config is corrupted. What if you try to recreate that device (use `xcrun simctl delete`/`xcrun simctl create` command line helpers)?"}}
{"actor":{"display_login":"mykola-mokhnach"}}