{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/electron/issues/3956","labels_url":"https://api.github.com/repos/atom/electron/issues/3956/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/3956/comments","events_url":"https://api.github.com/repos/atom/electron/issues/3956/events","html_url":"https://github.com/atom/electron/issues/3956","id":124289262,"number":3956,"title":"Selenium click operation doesn’t work sometimes","user":{"login":"sunahub","id":3784587,"avatar_url":"https://avatars.githubusercontent.com/u/3784587?v=3","gravatar_id":"","url":"https://api.github.com/users/sunahub","html_url":"https://github.com/sunahub","followers_url":"https://api.github.com/users/sunahub/followers","following_url":"https://api.github.com/users/sunahub/following{/other_user}","gists_url":"https://api.github.com/users/sunahub/gists{/gist_id}","starred_url":"https://api.github.com/users/sunahub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunahub/subscriptions","organizations_url":"https://api.github.com/users/sunahub/orgs","repos_url":"https://api.github.com/users/sunahub/repos","events_url":"https://api.github.com/users/sunahub/events{/privacy}","received_events_url":"https://api.github.com/users/sunahub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-30T00:58:31Z","updated_at":"2015-12-30T00:58:31Z","closed_at":null,"body":"### Summary:\r\n\r\n* a click operation isn’t processed or a click operation raise other click opration to be processed when operated by selenium code.\r\n* All the operation works correctly when operated by myself(just click by my finger).\r\n* All the operation works correctly when operated at selenium and chrome browser(don't use electron).\r\n\r\nDo you know what’s wrong with it?\r\n\r\n### Environment:\r\n\r\n* Macbook Pro /OS X Yosemite(10.10.4)\r\n* Electron\r\n * v0.33.1\r\n * v0.36.1\r\n* ChromeDriver\r\n * chromedriver-v2.15-darwin-x64\r\n * chromedriver_mac32_2_20\r\n* jQuery\r\n * 1.11.3\r\n * don't use (javascript only)\r\n\r\n### Description:\r\n\r\n1 At first, I packaged Electron app from the HTML code below.\r\n\r\n```html\r\n<html>\r\n<head>\r\n...\r\n<script>\r\nwindow.jQuery = window.$ = require(\"jquery\");\r\n\r\n$(function() {\r\n  $(\"#link1\").click(function() {\r\n    $(\"#status1\").text(\"OK\");\r\n  });\r\n\r\n  $(\"#link2\").click(function() {\r\n    $(\"#status2\").text(\"OK\");\r\n  });\r\n\r\n  $(\"#link3\").click(function() {\r\n    $(\"#status3\").text(\"OK\");\r\n  });\r\n});\r\n</script>\r\n</head>\r\n\r\n<body>\r\n<span id=\"status1\"></span><a href=\"#1\" id=\"link1\" class=\"link\">link1</a><br>\r\n<span id=\"status2\"></span><a href=\"#2\" id=\"link2\" class=\"link\">link2</a><br>\r\n<span id=\"status3\"></span><a href=\"#3\" id=\"link3\" class=\"link\">link3</a><br>\r\n</body>\r\n</html>\r\n```\r\n\r\n2 Launch the app and click each link by my finger from above, then “OK” is displayed. That seems to work correctly.\r\n\r\n3 I wrote the selenium ruby code below.\r\n\r\n```ruby\r\n...\r\nlink1 = driver.find_element(:id, 'link1')\r\nlink1.click\r\n\r\nsleep(5)\r\n\r\nlink2 = driver.find_element(:id, 'link2')\r\nlink2.click\r\n\r\nsleep(5)\r\n\r\nlink3 = driver.find_element(:id, 'link3')\r\nlink3.click\r\n...\r\n```\r\n\r\n(Below is the point of the issue)\r\n\r\n4 Execute the code, then “OK”, “OK” are displayed following link1.click, link2.click. However, 3rd “OK” is not displayed following link3.click.\r\n\r\nAnyone knows what happened?\r\n\r\nP.S. \r\nIf I add link4 and execute the selenium code, link3.click has started a click event of link4 on the application side.\r\n\r\nBest regards,"}}