{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2233","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2233/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2233/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2233/events","html_url":"https://github.com/webdriverio/webdriverio/issues/2233","id":248630485,"number":2233,"title":"browser.click in iFrame (Chrome)","user":{"login":"Luc-Bucher","id":23702783,"avatar_url":"https://avatars1.githubusercontent.com/u/23702783?v=4","gravatar_id":"","url":"https://api.github.com/users/Luc-Bucher","html_url":"https://github.com/Luc-Bucher","followers_url":"https://api.github.com/users/Luc-Bucher/followers","following_url":"https://api.github.com/users/Luc-Bucher/following{/other_user}","gists_url":"https://api.github.com/users/Luc-Bucher/gists{/gist_id}","starred_url":"https://api.github.com/users/Luc-Bucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luc-Bucher/subscriptions","organizations_url":"https://api.github.com/users/Luc-Bucher/orgs","repos_url":"https://api.github.com/users/Luc-Bucher/repos","events_url":"https://api.github.com/users/Luc-Bucher/events{/privacy}","received_events_url":"https://api.github.com/users/Luc-Bucher/received_events","type":"User","site_admin":false},"labels":[{"id":559617370,"url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Logs%20Missing","name":"Logs Missing","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-08-08T07:55:44Z","updated_at":"2017-08-18T09:26:40Z","closed_at":null,"body":"## The problem\r\n\r\nShould I try to interact with an element (e.g. click) inside an iFrame using Chrome, I get the following error:\r\n\r\n### With browser.debug:\r\n```\r\nError: An unknown server-side error occurred while processing the command.\r\n    at Object.wait (C:\\tfs\\Trainees\\LB\\Reports-Tests\\node_modules\\fibers\\future.js:449:15)\r\n    at Object.click (C:\\tfs\\Trainees\\LB\\Reports-Tests\\node_modules\\wdio-sync\\build\\index.js:344:27)\r\n    at evalmachine.<anonymous>:1:9\r\n    at ContextifyScript.Script.runInThisContext (vm.js:25:33)\r\n    at Object.runInThisContext (vm.js:97:38)\r\n    at C:\\tfs\\Trainees\\LB\\Reports-Tests\\node_modules\\webdriverio\\build\\lib\\commands\\debug.js:54:43\r\n    at C:\\tfs\\Trainees\\LB\\Reports-Tests\\node_modules\\wdio-sync\\build\\index.js:205:29\r\n    at elementIdClick(\"2\") - C:\\tfs\\Trainees\\LB\\Reports-Tests\\node_modules\\webdriverio\\build\\lib\\commands\\click.js:20:22\r\n```\r\n### In regular use:\r\n\r\n```\r\n Element <iframe ng-show=\"!failureReason\" seamless=\"seamless\" frameborder=\"0\" class=\"viewer\" aria-hidden=\"false\" cd_frame_id_=\"c34f981c26ae93c07f9481151e9d491d\" ng-src=\"/ReportServer/Pages/ReportViewer.aspx?%2Fswissisol-dev%2FCatalog%2FExport%20Produktgruppe&amp;rc:showbackbutton=true\" src=\"/ReportServer/Pages/ReportViewer.aspx?%2Fswissisol-dev%2FCatalog%2FExport%20Produktgruppe&amp;rc:showbackbutton=true\"></iframe> is not clickable at point (151, 127). Other element would receive the click: <section class=\"breadcrumbs\">...</section>\r\n```\r\n\r\n\r\n## Environment\r\n\r\n* WebdriverIO version: 5.3.0\r\n* Node.js version: 6.11.0\r\n* WDIO-Standalone with Selenium-Standalone\r\n* Chrome version: 59.0.3071.115\r\n\r\n## Details\r\n\r\n- [Gist Snippet](https://gist.github.com/nickytonline/e196070529670b4aba46a37c96b9ddef)\r\n\r\nI use chrome only, but it seems to be working fine on Firefox.\r\nThe Website that I want to Test is the SQL Server Reporting Service 2016:\r\n\r\nI already made a Test-Website consisting of an iFrame containing a Button, where everything seemed to work fine.\r\n\r\nDepending on the Element, it  either returns the above shown error or does not do anything at all: \r\nAs [nickytonline](https://gist.github.com/nickytonline/e196070529670b4aba46a37c96b9ddef) described in his post, the error does not always occur.\r\n\r\nAll elements inside the iFrame can be found, browser.frame() does not return errors either.\r\n\r\n\r\n## Code To Reproduce Issue\r\n```\r\nbrowser.url(_XYZ_);\r\n\r\nbrowser.waitForExist('iframe.viewer');\r\nbrowser.frame(browser.element('iframe.viewer').value);\r\n\r\nreturn this.waitForLoadingScreen();\r\nconsole.log(browser.element('#ReportViewerControl_ctl04_ctl03_ddValue'));\r\nvar select = browser.element('#ReportViewerControl_ctl04_ctl03_ddValue');\r\nselect.click(); // Returns error\r\n```"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/323305671","html_url":"https://github.com/webdriverio/webdriverio/issues/2233#issuecomment-323305671","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2233","id":323305671,"user":{"login":"adamgins","id":7233741,"avatar_url":"https://avatars3.githubusercontent.com/u/7233741?v=4","gravatar_id":"","url":"https://api.github.com/users/adamgins","html_url":"https://github.com/adamgins","followers_url":"https://api.github.com/users/adamgins/followers","following_url":"https://api.github.com/users/adamgins/following{/other_user}","gists_url":"https://api.github.com/users/adamgins/gists{/gist_id}","starred_url":"https://api.github.com/users/adamgins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamgins/subscriptions","organizations_url":"https://api.github.com/users/adamgins/orgs","repos_url":"https://api.github.com/users/adamgins/repos","events_url":"https://api.github.com/users/adamgins/events{/privacy}","received_events_url":"https://api.github.com/users/adamgins/received_events","type":"User","site_admin":false},"created_at":"2017-08-18T09:26:40Z","updated_at":"2017-08-18T09:26:40Z","body":"@christian-bromann are you referring to my issue too?"}}
{"actor":{"display_login":"adamgins"}}