{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2293","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2293/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2293/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2293/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/2293","id":160400654,"number":2293,"title":" Open a new tab with firefox 46.0.1 and switch handle ","user":{"login":"RimacV","id":6330823,"avatar_url":"https://avatars.githubusercontent.com/u/6330823?v=3","gravatar_id":"","url":"https://api.github.com/users/RimacV","html_url":"https://github.com/RimacV","followers_url":"https://api.github.com/users/RimacV/followers","following_url":"https://api.github.com/users/RimacV/following{/other_user}","gists_url":"https://api.github.com/users/RimacV/gists{/gist_id}","starred_url":"https://api.github.com/users/RimacV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RimacV/subscriptions","organizations_url":"https://api.github.com/users/RimacV/orgs","repos_url":"https://api.github.com/users/RimacV/repos","events_url":"https://api.github.com/users/RimacV/events{/privacy}","received_events_url":"https://api.github.com/users/RimacV/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T11:35:23Z","updated_at":"2016-06-15T12:15:39Z","closed_at":"2016-06-15T11:40:36Z","body":"## Meta - Open a new tab with firefox 46.0.1 and switch handle \r\nOS:  \r\n<!-- Windows 10? OSX? -->\r\nWindows 8.1\r\nSelenium Version:  \r\n<!-- 2.53.0, IDE, etc -->\r\nBrowser:  \r\nFirefox \r\n<!-- Internet Explorer?  Firefox? \r\n\r\nFirefox 47? Did you search for issues first? You're likely logging a duplicate bug of #2110\r\n\r\nIf the issue is with Google Chrome consider logging an issue with chromedriver instead:\r\nhttps://sites.google.com/a/chromium.org/chromedriver/help\r\n\r\nIf the issue is with Microsoft Edge consider logging an issue with Microsoft instead:\r\nhttps://developer.microsoft.com/en-us/microsoft-edge/platform/issues/\r\n\r\nIf the issue is with Firefox GeckoDriver (aka Marionette) consider loogging an issue with Mozilla:\r\nhttps://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette\r\n\r\nIf the issue is with PhantomJS consider logging an issue with Ghostdriver:\r\nhttps://github.com/detro/ghostdriver\r\n\r\n-->\r\n\r\nBrowser Version:  46.0.1\r\n<!-- e.g.: 49.0.2623.87 (64-bit) -->\r\n\r\n## Expected Behavior -\r\n\r\nOpen a new tab and switching context to the new tab.\r\nThis works with ChromeDriver but not with FireFoxDriver\r\n\r\ndriver.findElement(By.cssSelector(\"body\")).sendKeys(Keys.CONTROL + \"t\");\r\nArrayList<String> tabs2 = new ArrayList<String> (driver.getWindowHandles());\r\ndriver.switchTo().window(tabs2.get(1));\r\ndriver.get(TestTemplate.templateBaseUrl);\r\n\r\n## Actual Behavior -\r\n\r\nOpens a new tab, but driver.getWindowHandles returns only one handle instead of two.\r\nThis results in indexOutOfBounds.\r\n\r\n## Steps to reproduce -\r\nExecute posted code with Firefox 46.0.1 and FirefoxDriver"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/226169703","html_url":"https://github.com/SeleniumHQ/selenium/issues/2293#issuecomment-226169703","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2293","id":226169703,"user":{"login":"AutomatedTester","id":128518,"avatar_url":"https://avatars.githubusercontent.com/u/128518?v=3","gravatar_id":"","url":"https://api.github.com/users/AutomatedTester","html_url":"https://github.com/AutomatedTester","followers_url":"https://api.github.com/users/AutomatedTester/followers","following_url":"https://api.github.com/users/AutomatedTester/following{/other_user}","gists_url":"https://api.github.com/users/AutomatedTester/gists{/gist_id}","starred_url":"https://api.github.com/users/AutomatedTester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AutomatedTester/subscriptions","organizations_url":"https://api.github.com/users/AutomatedTester/orgs","repos_url":"https://api.github.com/users/AutomatedTester/repos","events_url":"https://api.github.com/users/AutomatedTester/events{/privacy}","received_events_url":"https://api.github.com/users/AutomatedTester/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T12:15:39Z","updated_at":"2016-06-15T12:15:39Z","body":"a reproducible test case requires a sample url or html along with the code to generate the exception. We can try to help / reopen this issue when that is provided"}}
{"actor":{"display_login":"AutomatedTester"}}