code: public static WebDriver createDriver(String browserType, String url, String size) {
          if (browserType == null) { 
              browserType = GalenConfig.getConfig().getDefaultBrowser();
          }
          
          SeleniumBrowser browser = (SeleniumBrowser) new SeleniumBrowserFactory(browserType).openBrowser();
          
          if (url != null && !url.trim().isEmpty()) {
              browser.load(url);    
          }
          
          if (size != null && !size.trim().isEmpty()) {
              browser.changeWindowSize(GalenUtils.readSize(size));
          }
          
          return browser.getDriver();
      }
docs: Needed for Javascript based tests
  @param browserType
  @return