browser maximized method is wrapped into try/catch block