handle error from browser.init

If saucelabs cannot init the browser, make sure to capture that error.
dead code removal