private URL getGridHubUrl(String connectionString) {
      try {
        return new URL(connectionString);
      } catch (MalformedURLException e) {
        throw new SelendroidException("Grid hub connection string cannot be parsed into URL", e);
      }
  }
Extracts the configuration.

@return The configuration
@throws JSONException On JSON errors.
selendroid-standalone/src/main/java/io/selendroid/standalone/server/grid/SelfRegisteringRemote.java