getBrowserName method should be public