/**
  * Gets a new browser session, using the SeleniumServer static fields to populate parameters.
  *
  * @param browserString
  * @param startURL
  * @param extensionJs per-session user extension Javascript
  * @param configuration Remote Control configuration. Cannot be null.
  * @return the BrowserSessionInfo for the new browser session.
  * @throws RemoteCommandException
  */
 public BrowserSessionInfo getNewBrowserSession(
     String browserString,
     String startURL,
     String extensionJs,
     Capabilities browserConfigurations,
     RemoteControlConfiguration configuration)
     throws RemoteCommandException {
   return getNewBrowserSession(
       browserString,
       startURL,
       extensionJs,
       browserConfigurations,
       configuration.reuseBrowserSessions(),
       configuration.isEnsureCleanSession(),
       configuration);
 }
 /**
  * Ends a browser session, using SeleniumServer static fields to populate parameters.
  *
  * @param sessionId the id of the session to be ended
  * @param configuration Remote Control configuration. Cannot be null.
  */
 public void endBrowserSession(
     boolean forceClose, String sessionId, RemoteControlConfiguration configuration) {
   endBrowserSession(forceClose, sessionId, configuration, configuration.isEnsureCleanSession());
 }