Added a browser close in an After hook