Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Calling driver.quit() fails on "Aborting on channel error." #387
Firefox version: 50.0.2 (also seems to occur with any Firefox 48+ version)
After updating to Selenium 3 and Geckodriver we have been experiencing random failures on calling driver.quit(). In case of failures (approximately 20-60% of test runs) the Firefox prompts an error dialog and error is shown in geckodriver log:
The example test code causing these random failures:
Anyone experienced anything similar?
Tested also on Windows 10 (Firefox 50.0.2, Geckodriver 0.11.1).
With this configuration the Firefox does shutdown without hanging on error dialog (which makes issue less blocking). However, in the geckodriver log similar errors are shown during driver.quit() indicating failure to close Firefox process gracefully:
Also, on some executions geckodriver log showed different types of errors while calling driver.quit():
Not exactly sure whether this is an geckodriver, Firefox or Selenium issue? Any ideas?
Firefox version: 50.1.0