Browse Source
[SauceLabs] Quit browser when there is an error.
It fixes the case:
When there is an error in browser instance A, another browser instance B will be launched for retrying the test.
The test passed in B. But A is still running and eventually timeout and being marked as error. The whole test will mark as fail although B passed.