fixing test using hardcoded value instead of variable
returning the correct status code for exceptions.
the dual logic has change, webdriver!= null doesn't mean a webview has been detected.
apple changed its site, the link is gone.