{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/12698","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/12698/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/12698/comments","events_url":"https://api.github.com/repos/appium/appium/issues/12698/events","html_url":"https://github.com/appium/appium/issues/12698","id":449147452,"node_id":"MDU6SXNzdWU0NDkxNDc0NTI=","number":12698,"title":"Can't switch newtab on IOS version 12.3.1 Appium version 1.13.0","user":{"login":"abilashkar","id":18739593,"node_id":"MDQ6VXNlcjE4NzM5NTkz","avatar_url":"https://avatars2.githubusercontent.com/u/18739593?v=4","gravatar_id":"","url":"https://api.github.com/users/abilashkar","html_url":"https://github.com/abilashkar","followers_url":"https://api.github.com/users/abilashkar/followers","following_url":"https://api.github.com/users/abilashkar/following{/other_user}","gists_url":"https://api.github.com/users/abilashkar/gists{/gist_id}","starred_url":"https://api.github.com/users/abilashkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abilashkar/subscriptions","organizations_url":"https://api.github.com/users/abilashkar/orgs","repos_url":"https://api.github.com/users/abilashkar/repos","events_url":"https://api.github.com/users/abilashkar/events{/privacy}","received_events_url":"https://api.github.com/users/abilashkar/received_events","type":"User","site_admin":false},"labels":[{"id":36581329,"node_id":"MDU6TGFiZWwzNjU4MTMyOQ==","url":"https://api.github.com/repos/appium/appium/labels/Mobile%20Safari","name":"Mobile Safari","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-28T08:59:48Z","updated_at":"2019-05-28T19:06:20Z","closed_at":null,"author_association":"NONE","body":"## The problem\r\n\r\nSince the update to iOS 12.3, I am no longer able to switch new tab and preform action on iOS real device.in same tab webview and native view switching is happening. On new tab control is not switching.\r\n\r\n## Environment\r\n\r\n* Appium version : 1.13.0\r\n* Desktop OS/version used to run Appium: 10.14.4\r\n* Mobile platform/version under test: IOS 12.3.1\r\n* Real device or emulator/simulator: Real Device\r\nIOS_WebKIT_Proxy: 1.8.4\r\nJava Version: 12\r\n\r\n\r\n\r\n## Details\r\n```\r\nMay 28, 2019 9:36:30 AM org.openqa.selenium.support.ui.ExpectedConditions findElement\r\norg.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Did not get any response after 20s\r\nBuild info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:32:19.891Z'\r\nSystem info: host: 'local', ip: 'fe80:0:0:0:c1a:bce1:50e1:ac1d%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.14.4', java.version: '12'\r\nDriver info: io.appium.java_client.ios.IOSDriver\r\nCapabilities {appiumVersion: 1.9.1, autoAcceptAlerts: true, autoDismissAlerts: true, autoGrantPermissions: true, automationName: XCUITest, browserName: Safari, databaseEnabled: false, deviceName:TS, javascriptEnabled: true, locationContextEnabled: falsenetworkConnectionEnabled: false, newCommandTimeout: 2000,platform: MAC, platformName: iOS, platformVersion: 12.2, safariAllowPopups: false, startIWDP: true, takesScreenshot: true, udid: 9a6f77f7596a1aaebcec70d9efe..., unexpectedAlertBehaviour: true, unhandledPromptBehavior: true, webStorageEnabled: false, webkitResponseTimeout: 20000, xcodeOrgId: BYKRN84M2R, xcodeSigningId: iPhone Developer}\r\nSession ID: fc7d6ca1-3901-4fb0-a001-********\r\n*** Element info: {Using=xpath, value=//button[@class='little']}\r\nat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\natjava.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)atjava.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\nat java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)\r\nat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)\r\nat org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)\r\nat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)\r\nat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)\r\nat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\r\nat io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:231)\r\nat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)\r\nat io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)\r\nat io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)\r\n```\r\n\r\n## Link to Appium logs\r\n```\r\n[W3C (2dd6a781)] Responding to client with driver.getContexts() result: [\"NATIVE_APP\",\"WEBVIEW_1\",\"WEBVIEW_2\"]\r\n[HTTP] <-- GET /wd/hub/session/2dd6a781-6053-4ad7-8ca5-17cb5f7a5d77/contexts 200 7 ms - 48\r\n[HTTP] \r\n[HTTP] --> POST /wd/hub/session/2dd6a781-6053-4ad7-8ca5-17cb5f7a5d77/context\r\n[HTTP] {\"name\":\"WEBVIEW_2\"}\r\n[W3C (2dd6a781)] Calling AppiumDriver.setContext() with args: [\"WEBVIEW_2\",\"2dd6a781-6053-4ad7-8ca5-17cb5f7a5d77\"]\r\n[XCUITest] Executing command 'setContext'\r\n[iOS] Attempting to set context to 'WEBVIEW_2'\r\n[RemoteDebugger] Checking which communication style to use (Safari on platform version '12.3.1')\r\n[RemoteDebugger] Platform version equal or higher than '12.2': true\r\n[RemoteDebugger] Setting communication protocol: using Target-based communication\r\n[RemoteDebugger] Connecting to WebKit socket: 'ws://localhost:27753/devtools/page/2'\r\n[RemoteDebugger] WebKit debugger web socket connected to url: ws://localhost:27753/devtools/page/2\r\n[RemoteDebugger] Starting to listen for JavaScript console\r\n[RemoteDebugger] Sending WebKit data: {\"method\":\"Target.sendMessageToTarget\",\"params\":{\"objectGroup\":\"console\",\"includeCommandLineAPI\":true,\"doNotPauseOnExceptionsAndMuteConsole\":true,\"message\":{\"method\":\"Console.enable\",\"params\":{}}}}\r\n[RemoteDebugger] Webkit response timeout: 60000\r\n[RemoteDebugger] Received WebKit data: '{\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"page-2\",\"type\":\"page\"}}}'\r\n[RemoteDebugger] Found method 'Target.targetCreated' \r\n[RemoteDebugger] Target created: {\"targetId\":\"page-2\",\"type\":\"page\"}\r\n[RemoteDebugger] Received WebKit data: '{\"error\":{\"code\":-32000,\"message\":\"Target not found.\",\"data\":[{\"code\":-32000,\"message\":\"Target not found.\"}]},\"id\":0}'\r\n[RemoteDebugger] Received receipt for message '0'\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/496647925","html_url":"https://github.com/appium/appium/issues/12698#issuecomment-496647925","issue_url":"https://api.github.com/repos/appium/appium/issues/12698","id":496647925,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NjY0NzkyNQ==","user":{"login":"imurchie","id":2614354,"node_id":"MDQ6VXNlcjI2MTQzNTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2614354?v=4","gravatar_id":"","url":"https://api.github.com/users/imurchie","html_url":"https://github.com/imurchie","followers_url":"https://api.github.com/users/imurchie/followers","following_url":"https://api.github.com/users/imurchie/following{/other_user}","gists_url":"https://api.github.com/users/imurchie/gists{/gist_id}","starred_url":"https://api.github.com/users/imurchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurchie/subscriptions","organizations_url":"https://api.github.com/users/imurchie/orgs","repos_url":"https://api.github.com/users/imurchie/repos","events_url":"https://api.github.com/users/imurchie/events{/privacy}","received_events_url":"https://api.github.com/users/imurchie/received_events","type":"User","site_admin":false},"created_at":"2019-05-28T19:06:20Z","updated_at":"2019-05-28T19:06:20Z","author_association":"MEMBER","body":"Please provide the _full_ Appium server logs, as a link to a https://gist.github.com. There is a lot of information that is necessary to do any debugging."}}
{"actor":{"display_login":"imurchie"}}