{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/99","repository_url":"https://api.github.com/repos/Microsoft/WinAppDriver","labels_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/99/comments","events_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/99/events","html_url":"https://github.com/Microsoft/WinAppDriver/issues/99","id":192817976,"number":99,"title":"Is there a way to control pop up/new windows?","user":{"login":"SimonKirkhamCL4U","id":12136384,"avatar_url":"https://avatars.githubusercontent.com/u/12136384?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonKirkhamCL4U","html_url":"https://github.com/SimonKirkhamCL4U","followers_url":"https://api.github.com/users/SimonKirkhamCL4U/followers","following_url":"https://api.github.com/users/SimonKirkhamCL4U/following{/other_user}","gists_url":"https://api.github.com/users/SimonKirkhamCL4U/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonKirkhamCL4U/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonKirkhamCL4U/subscriptions","organizations_url":"https://api.github.com/users/SimonKirkhamCL4U/orgs","repos_url":"https://api.github.com/users/SimonKirkhamCL4U/repos","events_url":"https://api.github.com/users/SimonKirkhamCL4U/events{/privacy}","received_events_url":"https://api.github.com/users/SimonKirkhamCL4U/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-01T11:17:56Z","updated_at":"2016-12-01T11:33:56Z","closed_at":null,"body":"Using the driver I can open my application and click a button. The button however launches a new window. Looking at the webDriver.PageSource or trying to find element by the name show no sign of any of the controls of the new window. Is there a way to achieve this?"},"comment":{"url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/comments/264149157","html_url":"https://github.com/Microsoft/WinAppDriver/issues/99#issuecomment-264149157","issue_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/99","id":264149157,"user":{"login":"SimonKirkhamCL4U","id":12136384,"avatar_url":"https://avatars.githubusercontent.com/u/12136384?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonKirkhamCL4U","html_url":"https://github.com/SimonKirkhamCL4U","followers_url":"https://api.github.com/users/SimonKirkhamCL4U/followers","following_url":"https://api.github.com/users/SimonKirkhamCL4U/following{/other_user}","gists_url":"https://api.github.com/users/SimonKirkhamCL4U/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonKirkhamCL4U/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonKirkhamCL4U/subscriptions","organizations_url":"https://api.github.com/users/SimonKirkhamCL4U/orgs","repos_url":"https://api.github.com/users/SimonKirkhamCL4U/repos","events_url":"https://api.github.com/users/SimonKirkhamCL4U/events{/privacy}","received_events_url":"https://api.github.com/users/SimonKirkhamCL4U/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T11:33:56Z","updated_at":"2016-12-01T11:33:56Z","body":"Got it working sporadically. Using the the Selenium popupWindowFinder in the same way as you would a browser - \r\n\r\n```\r\n            _mainWindowHandle = _webDriver.CurrentWindowHandle;\r\n            var finder = new PopupWindowFinder(_webDriver);\r\n            var popupWindowHandle = finder.Click(SearchButton);\r\n\r\n            _webDriver.SwitchTo().Window(popupWindowHandle); \r\n```"}}
{"actor":{"display_login":"SimonKirkhamCL4U"}}