Somehow, additional browsers are being attached at the end of the test runs. Browsers should only attach at the beginning and prevented when close to the end of the process.
[exec] validateBrowserConfig
[exec] capture browsers
[exec] ["1"]
[exec] sendMessage: {
[exec] browsers: { Phantom: { id: 1 } },
[exec] command: "start",
[exec] url: "http://localhost:1313/capture"
[exec] }
[exec] received command: {
[exec] browsers: { Phantom: { id: 1 } },
[exec] command: "start",
[exec] url: "http://localhost:1313/capture"
[exec] }
[exec] start browser Phantom
[exec] slave ready: { slaveId: "1" }
[exec] []
[exec] All browsers are ready.
[exec] run tests
[exec] slave ready: { slaveId: "fbf293ab-c4ca-4133-80ab-58a5a12f6c55" }
[exec] []
[exec] All browsers are ready.
[exec] close browsers
[exec] ["1"]
[exec] slave disconnected gracefully: { slaveId: "b8ddbe66-fac6-42ed-8255-c17a5c9ae959" }
[exec] []
[exec] All browsers are closed.
[exec] All done.
[exec] sendMessage: { browsers: { Phantom: { id: 1 } }, command: "stop" }