Closed marcysutton closed 7 years ago
I found out more about this issue: it throws when you use the default of PhantomJS, but without the call to config.driver.quit();
in lib/webdriver.js, axe-cli leaves stale browser instances open when the tests complete. Need to find a setup that preserves both drivers.
I get a Selenium NoSuchSessionError on every site I check with the default browser (Firefox) but @WilcoFiers doesn't. It isn't immediately obvious what is causing it as I have the latest geckodriver (1.11) and Selenium Webdriver 3.0.1.
I was able to trace it to the
driver.quit()
call inaxe-test-urls.js
. If I comment out that line, it does not throw the error. If I log the error, I get the result below. I don't have any other servers running and there is no activity registered on port 4444.Here is the stack trace, I shortened the violation stuff for brevity: