redirected the output of the browser for test helpers