{"action":"created","issue":{"url":"https://api.github.com/repos/watir/watir/issues/817","repository_url":"https://api.github.com/repos/watir/watir","labels_url":"https://api.github.com/repos/watir/watir/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/watir/watir/issues/817/comments","events_url":"https://api.github.com/repos/watir/watir/issues/817/events","html_url":"https://github.com/watir/watir/issues/817","id":378525585,"node_id":"MDU6SXNzdWUzNzg1MjU1ODU=","number":817,"title":"browser.alert.close hangs when there are multiple config dialogs on the page","user":{"login":"waynehoover","id":115143,"node_id":"MDQ6VXNlcjExNTE0Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/115143?v=4","gravatar_id":"","url":"https://api.github.com/users/waynehoover","html_url":"https://github.com/waynehoover","followers_url":"https://api.github.com/users/waynehoover/followers","following_url":"https://api.github.com/users/waynehoover/following{/other_user}","gists_url":"https://api.github.com/users/waynehoover/gists{/gist_id}","starred_url":"https://api.github.com/users/waynehoover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waynehoover/subscriptions","organizations_url":"https://api.github.com/users/waynehoover/orgs","repos_url":"https://api.github.com/users/waynehoover/repos","events_url":"https://api.github.com/users/waynehoover/events{/privacy}","received_events_url":"https://api.github.com/users/waynehoover/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-08T00:19:17Z","updated_at":"2018-11-08T04:19:47Z","closed_at":"2018-11-08T04:19:47Z","author_association":"NONE","body":"## Meta -\r\ngem 'watir', '6.14.0'\r\ngem 'selenium-webdriver', '3.141.0'\r\ngem \"webdrivers\", \"~> 3.0\"\r\ngem 'headless', '2.3.1'\r\n\r\nBrowser Version: firefox 63.0.1\r\nOS Version: macos 10.14.1\r\n\r\n## Expected Behavior -\r\nWhen I browse to a page that has multiple confirm dialogs and do browser.alert.close it shouldn't hang.\r\n\r\n## Actual Behavior -\r\n\r\nIt hangs when there are multiple js confirm dialogs on a page. Even when I try and browser.html when there is an alert it hangs.\r\n\r\n## Steps to reproduce -\r\ngo to a page like that has code like this:\r\n<html>\r\n  <head>\r\n  </head>\r\n  <body>\r\n    <script language=\"javascript\">\r\n      i = 0;\r\n      while (i < 4) {\r\n        window.confirm(\"Confirm: \" + i);\r\n        i += 1;\r\n      }\r\n    </script>\r\n  </body>\r\n</html>\r\n\r\n\r\nand then do browser.alert.close, and notice it hang.\r\n"},"comment":{"url":"https://api.github.com/repos/watir/watir/issues/comments/436868602","html_url":"https://github.com/watir/watir/issues/817#issuecomment-436868602","issue_url":"https://api.github.com/repos/watir/watir/issues/817","id":436868602,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjg2ODYwMg==","user":{"login":"titusfortner","id":777185,"node_id":"MDQ6VXNlcjc3NzE4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/777185?v=4","gravatar_id":"","url":"https://api.github.com/users/titusfortner","html_url":"https://github.com/titusfortner","followers_url":"https://api.github.com/users/titusfortner/followers","following_url":"https://api.github.com/users/titusfortner/following{/other_user}","gists_url":"https://api.github.com/users/titusfortner/gists{/gist_id}","starred_url":"https://api.github.com/users/titusfortner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titusfortner/subscriptions","organizations_url":"https://api.github.com/users/titusfortner/orgs","repos_url":"https://api.github.com/users/titusfortner/repos","events_url":"https://api.github.com/users/titusfortner/events{/privacy}","received_events_url":"https://api.github.com/users/titusfortner/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T04:19:47Z","updated_at":"2018-11-08T04:19:47Z","author_association":"MEMBER","body":"I can reproduce this in Firefox, but it works just fine with Chrome. As such, this appears to be a bug from Mozilla, so you should raise an issue on the geckodriver project and follow it there."}}
{"actor":{"display_login":"titusfortner"}}