code: public RemoteWebDriver createDriver(MobileNodeType nodeType, WebDriverPlatform platform, CommandExecutor command,
                                          URL url, Capabilities caps) {
  
          if (mobileProviders.containsKey(nodeType)) {
              logger.log(Level.FINE, "Found mobile driver provider that supports " + nodeType);
              return mobileProviders.get(nodeType).createDriver(platform, command, url, caps);
          }
          logger.severe("Did not found a mobile driver provider that supports " + nodeType);
          return null;
      }
docs: Creates a new RemoteWebDriver instance from the first MobileProvider that supports the specified
  nodeType.
  
  @param nodeType - The {@link MobileNodeType} to use for creating this mobile remote driver.
  @param platform - The {@link WebDriverPlatform}.
  @param command  - The commandExecutor.
  @param url      - The URL to use for the remote grid.
  @param caps     - The desired capabilities for this new web driver instance.
  @return A new RemoteWebDriver instance.