Added a check whether creation of browser fails. See Issue 8.