Some refactoring in the sharedDriver class with overriding pom broswer property