Refactored BaseSeleniumTest.java