问题
I searched and found very similar mentions in older questions from several months ago which seemed to suggest problem should have been fixed by now, but it is still occurring for me.
- Pytest on my Linux server - Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
- Firefox on my remote Win7 laptop - browserVersion 50.0.2
- Geckodriver on my remote Win7 laptop - geckodriver-v0.11.1-win64 . System info: host: 'XXXXXXXXX', ip: 'XXX.XXX.XXX.XXX', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver
- Geckodriver on my Linux server in my $PATH - geckodriver-v0.11.1-linux64.tar
My pytest+selenium session opens a browser window on my remote laptop OK, and does everything properly until the test completes. At that point, Firefox crashes and the remote Geckodriver reports "[Child 1688] ###!!! ABORT: Aborting on channel error.: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2056".
I would appreciate any & all suggestions or guidance so Firefox does not end up crashing. Thank you very much.
来源:https://stackoverflow.com/questions/41325677/firefox-crashes-on-close-quit-pytest-selenium-with-remotewebdriver