{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/11664","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/11664/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/11664/comments","events_url":"https://api.github.com/repos/appium/appium/issues/11664/events","html_url":"https://github.com/appium/appium/issues/11664","id":379149424,"node_id":"MDU6SXNzdWUzNzkxNDk0MjQ=","number":11664,"title":"Error: 'browserName' cannot be set together with 'bundleId' capability","user":{"login":"ValentinaLN","id":44898037,"node_id":"MDQ6VXNlcjQ0ODk4MDM3","avatar_url":"https://avatars1.githubusercontent.com/u/44898037?v=4","gravatar_id":"","url":"https://api.github.com/users/ValentinaLN","html_url":"https://github.com/ValentinaLN","followers_url":"https://api.github.com/users/ValentinaLN/followers","following_url":"https://api.github.com/users/ValentinaLN/following{/other_user}","gists_url":"https://api.github.com/users/ValentinaLN/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinaLN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinaLN/subscriptions","organizations_url":"https://api.github.com/users/ValentinaLN/orgs","repos_url":"https://api.github.com/users/ValentinaLN/repos","events_url":"https://api.github.com/users/ValentinaLN/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinaLN/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-09T12:49:18Z","updated_at":"2018-11-09T13:11:32Z","closed_at":"2018-11-09T13:11:32Z","author_association":"NONE","body":"## The problem\r\n [XCUITest] Error: 'browserName' cannot be set together with 'bundleId' capability. But at our project we use both of them. We didn't have such issue with appium 1.8.1 \r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.9.1\r\n* Last Appium version that did not exhibit the issue (if applicable): 1.8.1\r\n* Desktop OS/version used to run Appium:Mac OS X 10.14\r\n* Mobile platform/version under test: iOS 12.0.1\r\n* Real device or emulator/simulator: real device\r\n\r\n## Appium logs\r\n\r\n\r\n[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []\r\n[debug] [GENERIC] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.9.1\"}}\r\n[HTTP] <-- GET /wd/hub/status 200 3 ms - 67\r\n[HTTP] \r\n[HTTP] --> POST /wd/hub/session\r\n[HTTP] {\"desiredCapabilities\":{\"xcodeOrgId\":\"4XGDRF4ETY\",\"bundleId”:”XXX”,”deviceName\":\"iPhone\",\"updatedWDABundleId”:”XXX”,”xcodeSigningId\":\"iPhone Developer\",\"platform\":\"MAC\",\"showXcodeLog\":\"true\",\"autoLaunch\":false,\"newCommandTimeout\":\"520\",\"realDeviceLogger\":\"/usr/local/lib/node_modules/deviceconsole\",\"platformVersion\":\"12.0.1\",\"browserName\":\"iPhone5s\",\"platformName\":\"iOS\"},\"requiredCapabilities\":{}}\r\n[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{\"xcodeOrgId\":\"4XGDRF4ETY\",\"bundleId”:”XXX”,”deviceName\":\"iPhone\",\"updatedWDABundleId”:”XXX”,”xcodeSigningId\":\"iPhone Developer\",\"platform\":\"MAC\",\"showXcodeLog\":\"true\",\"autoLaunch\":false,\"newCommandTimeout\":\"520\",\"realDeviceLogger\":\"/usr/local/lib/node_modules/deviceconsole\",\"platformVersion\":\"12.0.1\",\"browserName\":\"iPhone5s\",\"platformName\":\"iOS\"},{},null]\r\n[debug] [BaseDriver] Event 'newSessionRequested' logged at 1541082736523 (17:32:16 GMT+0300 (+03))\r\n[Appium] Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.\r\n[Appium] Creating new XCUITestDriver (v2.94.2) session\r\n[Appium] Capabilities:\r\n[Appium]   udid: XXXXXX\r\n[Appium]   xcodeOrgId: 4XGDRF4ETY\r\n[Appium]   bundleId: XXX\r\n[Appium]   deviceName: iPhone\r\n[Appium]   updatedWDABundleId: XXX\r\n[Appium]   xcodeSigningId: iPhone Developer\r\n[Appium]   platform: MAC\r\n[Appium]   showXcodeLog: true\r\n[Appium]   autoLaunch: false\r\n[Appium]   newCommandTimeout: 520\r\n[Appium]   realDeviceLogger: /usr/local/lib/node_modules/deviceconsole\r\n[Appium]   platformVersion: 12.0.1\r\n[Appium]   browserName: iPhone5s\r\n[Appium]   platformName: iOS\r\n[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {\"udid\":\"daadb1f524aeb7bf8b...\r\n[BaseDriver] Capability 'showXcodeLog' changed from string to boolean. This may cause unexpected behavior\r\n[BaseDriver] Capability 'newCommandTimeout' changed from string ('520') to integer (520). This may cause unexpected behavior\r\n[BaseDriver] The following capabilities were provided, but are not recognized by appium: platform.\r\n[XCUITest] Error: 'browserName' cannot be set together with 'bundleId' capability\r\n[XCUITest]     at Object.wrappedLogger.errorAndThrow (/usr/local/lib/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13)\r\n[XCUITest]     at XCUITestDriver.validateDesiredCaps (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:947:13)\r\n[XCUITest]     at XCUITestDriver.callee$0$0$ (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/session.js:45:8)\r\n[XCUITest]     at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n[XCUITest]     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n[XCUITest]     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[XCUITest]     at invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[XCUITest]     at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17)\r\n[XCUITest]     at Promise.F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36)\r\n[XCUITest]     at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12)\r\n[XCUITest]     at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[XCUITest]     at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12)\r\n[XCUITest]     at XCUITestDriver.callee$0$0 [as createSession] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/build/lib/basedriver/commands/session.js:35:30)\r\n[XCUITest]     at XCUITestDriver.createSession$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:111:21)\r\n[XCUITest]     at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n[XCUITest]     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n[XCUITest]     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[XCUITest]     at invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[XCUITest]     at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17)\r\n[XCUITest]     at Promise.F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36)\r\n[XCUITest]     at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12)\r\n[XCUITest]     at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[XCUITest]     at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12)\r\n[XCUITest]     at XCUITestDriver.createSession (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/build/lib/driver.js:247:34)\r\n[XCUITest]     at AppiumDriver.callee$2$0$ (/usr/local/lib/node_modules/appium/lib/appium.js:291:43)\r\n[XCUITest]     at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n[XCUITest]     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n[XCUITest]     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[XCUITest]     at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[XCUITest]     at process._tickCallback (internal/process/next_tick.js:109:7)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/437355193","html_url":"https://github.com/appium/appium/issues/11664#issuecomment-437355193","issue_url":"https://api.github.com/repos/appium/appium/issues/11664","id":437355193,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzM1NTE5Mw==","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","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-11-09T13:11:32Z","updated_at":"2018-11-09T13:11:32Z","author_association":"COLLABORATOR","body":"This is the expected behaviour. One of these caps must be removed.\r\n\r\nClosed as not an issue"}}
{"actor":{"display_login":"mykola-mokhnach"}}