fix IllegalArgumentException when browser was not found