{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/geckodriver/issues/879","repository_url":"https://api.github.com/repos/mozilla/geckodriver","labels_url":"https://api.github.com/repos/mozilla/geckodriver/issues/879/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/geckodriver/issues/879/comments","events_url":"https://api.github.com/repos/mozilla/geckodriver/issues/879/events","html_url":"https://github.com/mozilla/geckodriver/issues/879","id":250944672,"number":879,"title":"Selenium 3.5.0-GeckoDriver 0.18.0-Python 3.6.1 : \"OSError: [WinError 6] The handle is invalid\" is observed while close() is called through Python PyDev (Eclipse) unittest module","user":{"login":"Debanjan-B","id":26503213,"avatar_url":"https://avatars3.githubusercontent.com/u/26503213?v=4","gravatar_id":"","url":"https://api.github.com/users/Debanjan-B","html_url":"https://github.com/Debanjan-B","followers_url":"https://api.github.com/users/Debanjan-B/followers","following_url":"https://api.github.com/users/Debanjan-B/following{/other_user}","gists_url":"https://api.github.com/users/Debanjan-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Debanjan-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Debanjan-B/subscriptions","organizations_url":"https://api.github.com/users/Debanjan-B/orgs","repos_url":"https://api.github.com/users/Debanjan-B/repos","events_url":"https://api.github.com/users/Debanjan-B/events{/privacy}","received_events_url":"https://api.github.com/users/Debanjan-B/received_events","type":"User","site_admin":false},"labels":[{"id":276980811,"url":"https://api.github.com/repos/mozilla/geckodriver/labels/selenium","name":"selenium","color":"2bb033","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-17T13:31:21Z","updated_at":"2017-08-17T16:46:34Z","closed_at":"2017-08-17T13:44:23Z","body":"## System\r\n* GeckoDriver Version: 0.18.0\r\n* Platform: Windows 8 Pro, 64 bit\r\n* Firefox: 55.0.2 (64-bit)\r\n* Selenium: 3.5.0 (Python 3.6.1)\r\n\r\n\r\n## Testcase\r\n`OSError: [WinError 6] The handle is invalid` error is observed while `close()` method is called through Python PyDev (Eclipse) unittest module.\r\n\r\n\r\nCode Block:\r\n\r\n\timport unittest\r\n\tfrom selenium import webdriver\r\n\tfrom selenium.webdriver.common.keys import Keys\r\n\r\n\tbinary = r'C:\\Program Files\\Mozilla Firefox\\firefox.exe'\r\n\r\n\tclass PythonOrgSearch(unittest.TestCase):\r\n\r\n\t    def setUp(self):\r\n\t\tself.driver = webdriver.Firefox(firefox_binary=binary, executable_path=r'C:\\Utility\\BrowserDrivers\\geckodriver.exe')\r\n\r\n\t    def test_search_in_python_org(self):\r\n\t\tdriver = self.driver\r\n\t\tdriver.get(\"http://www.python.org\")\r\n\t\tself.assertIn(\"Python\", driver.title)\r\n\t\telem = driver.find_element_by_name(\"q\")\r\n\t\telem.send_keys(\"pycon\")\r\n\t\telem.send_keys(Keys.RETURN)\r\n\t\tassert \"No results found.\" not in driver.page_source\r\n\r\n\r\n\t    def tearDown(self):\r\n\t\tself.driver.close()\r\n\r\n\tif __name__ == \"__main__\":\r\n\t    unittest.main()\r\n## Stacktrace\r\n\r\n<!--\r\nError and stacktrace produced by client binding.\r\n-->\r\n\r\n\r\n## Trace-level log\r\n\r\n\tFinding files... done.\r\n\tImporting test modules ... done.\r\n\r\n\t----------------------------------------------------------------------\r\n\tRan 1 test in 16.387s\r\n\r\n\tOK\r\n\tException ignored in: <bound method Popen.__del__ of <subprocess.Popen object at 0x035559B0>>\r\n\tTraceback (most recent call last):\r\n\t  File \"C:\\Python\\lib\\subprocess.py\", line 763, in __del__\r\n\t    self._internal_poll(_deadstate=_maxsize)\r\n\t  File \"C:\\Python\\lib\\subprocess.py\", line 1025, in _internal_poll\r\n\t    if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:\r\n\tOSError: [WinError 6] The handle is invalid\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/geckodriver/issues/comments/323129710","html_url":"https://github.com/mozilla/geckodriver/issues/879#issuecomment-323129710","issue_url":"https://api.github.com/repos/mozilla/geckodriver/issues/879","id":323129710,"user":{"login":"andreastt","id":399120,"avatar_url":"https://avatars3.githubusercontent.com/u/399120?v=4","gravatar_id":"","url":"https://api.github.com/users/andreastt","html_url":"https://github.com/andreastt","followers_url":"https://api.github.com/users/andreastt/followers","following_url":"https://api.github.com/users/andreastt/following{/other_user}","gists_url":"https://api.github.com/users/andreastt/gists{/gist_id}","starred_url":"https://api.github.com/users/andreastt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreastt/subscriptions","organizations_url":"https://api.github.com/users/andreastt/orgs","repos_url":"https://api.github.com/users/andreastt/repos","events_url":"https://api.github.com/users/andreastt/events{/privacy}","received_events_url":"https://api.github.com/users/andreastt/received_events","type":"User","site_admin":false},"created_at":"2017-08-17T16:46:34Z","updated_at":"2017-08-17T16:46:34Z","body":"The Selenium project tracks its issues at https://github.com/seleniumhq/selenium."}}
{"actor":{"display_login":"andreastt"}}