{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/geckodriver/issues/205","repository_url":"https://api.github.com/repos/mozilla/geckodriver","labels_url":"https://api.github.com/repos/mozilla/geckodriver/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/geckodriver/issues/205/comments","events_url":"https://api.github.com/repos/mozilla/geckodriver/issues/205/events","html_url":"https://github.com/mozilla/geckodriver/issues/205","id":174056111,"number":205,"title":"Using switchTo().frame(handle) gives `NoSuchFrameError: frame id has unexpected type`","user":{"login":"Standard8","id":520844,"avatar_url":"https://avatars.githubusercontent.com/u/520844?v=3","gravatar_id":"","url":"https://api.github.com/users/Standard8","html_url":"https://github.com/Standard8","followers_url":"https://api.github.com/users/Standard8/followers","following_url":"https://api.github.com/users/Standard8/following{/other_user}","gists_url":"https://api.github.com/users/Standard8/gists{/gist_id}","starred_url":"https://api.github.com/users/Standard8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Standard8/subscriptions","organizations_url":"https://api.github.com/users/Standard8/orgs","repos_url":"https://api.github.com/users/Standard8/repos","events_url":"https://api.github.com/users/Standard8/events{/privacy}","received_events_url":"https://api.github.com/users/Standard8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-30T15:49:41Z","updated_at":"2016-08-30T21:28:19Z","closed_at":null,"body":"I'm running selenium+geckodriver in javascript mode using Firefox 48 in e10s mode. Doing the following fails:\r\n\r\n```javascript\r\ndriver.getAllWindowHandles()\r\n  .then(handles => driver.switchTo().frame(handles[0]))\r\n```\r\ngives\r\n\r\n```console\r\n     NoSuchFrameError: frame id has unexpected type\r\n      at WebDriverError (node_modules/selenium-webdriver/lib/error.js:27:10)\r\n      at NoSuchFrameError (node_modules/selenium-webdriver/lib/error.js:180:10)\r\n      at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:477:11)\r\n      at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:386:15)\r\n      at node_modules/selenium-webdriver/lib/http.js:328:11\r\n  From: Task: WebDriver.switchTo().frame(7)\r\n      at Driver.schedule (node_modules/selenium-webdriver/lib/webdriver.js:414:17)\r\n      at TargetLocator.frame (node_modules/selenium-webdriver/lib/webdriver.js:1637:25)\r\n      at test/functional/button_test.js:109:34\r\n      at ManagedPromise.invokeCallback_ (node_modules/selenium-webdriver/lib/promise.js:1315:14)\r\n      at TaskQueue.execute_ (node_modules/selenium-webdriver/lib/promise.js:2736:14)\r\n      at TaskQueue.executeNext_ (node_modules/selenium-webdriver/lib/promise.js:2719:21)\r\n      at node_modules/selenium-webdriver/lib/promise.js:2595:27\r\n      at node_modules/selenium-webdriver/lib/promise.js:639:7\r\n```\r\n\r\nI'll attach more detailed geckodriver logs when I get them."},"comment":{"url":"https://api.github.com/repos/mozilla/geckodriver/issues/comments/243587045","html_url":"https://github.com/mozilla/geckodriver/issues/205#issuecomment-243587045","issue_url":"https://api.github.com/repos/mozilla/geckodriver/issues/205","id":243587045,"user":{"login":"twalpole","id":16556,"avatar_url":"https://avatars.githubusercontent.com/u/16556?v=3","gravatar_id":"","url":"https://api.github.com/users/twalpole","html_url":"https://github.com/twalpole","followers_url":"https://api.github.com/users/twalpole/followers","following_url":"https://api.github.com/users/twalpole/following{/other_user}","gists_url":"https://api.github.com/users/twalpole/gists{/gist_id}","starred_url":"https://api.github.com/users/twalpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twalpole/subscriptions","organizations_url":"https://api.github.com/users/twalpole/orgs","repos_url":"https://api.github.com/users/twalpole/repos","events_url":"https://api.github.com/users/twalpole/events{/privacy}","received_events_url":"https://api.github.com/users/twalpole/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T21:28:19Z","updated_at":"2016-08-30T21:28:19Z","body":"You're calling `switchTo().frame`  but are passing window handles - you probably want `switchTo().window`"}}
{"actor":{"display_login":"twalpole"}}