config.json is generated by $ npm run test.
index.html is opened by $ npm run test after screenshots are generated and the local http server is started.
The HTTP server will auto-shutdown after a 15 minute timeout to save you the trouble of cleaning it up yourself. You can configure this in ./server.js