javascript/node/selenium-webdriver/chrome.js
function configureExecutor(executor) {
  executor.defineCommand(
      Command.LAUNCH_APP,
      'POST',
      '/session/:sessionId/chromium/launch_app');
  executor.defineCommand(
      Command.GET_NETWORK_CONDITIONS,
      'GET',
      '/session/:sessionId/chromium/network_conditions');
  executor.defineCommand(
      Command.SET_NETWORK_CONDITIONS,
      'POST',
      '/session/:sessionId/chromium/network_conditions');
  executor.defineCommand(
      Command.SEND_DEVTOOLS_COMMAND,
      'POST',
      '/session/:sessionId/chromium/send_command');
}
function configureExecutor(executor) {
  executor.defineCommand(
      Command.LAUNCH_APP,
      'POST',
      '/session/:sessionId/chromium/launch_app');
  executor.defineCommand(
      Command.GET_NETWORK_CONDITIONS,
      'GET',
      '/session/:sessionId/chromium/network_conditions');
  executor.defineCommand(
      Command.SET_NETWORK_CONDITIONS,
      'POST',
      '/session/:sessionId/chromium/network_conditions');
  executor.defineCommand(
      Command.SEND_DEVTOOLS_COMMAND,
      'POST',
      '/session/:sessionId/chromium/send_command');
}
function configureExecutor ( executor ) { executor . defineCommand ( Command . LAUNCH_APP , 'POST' , '/session/:sessionId/chromium/launch_app' ) ; executor . defineCommand ( Command . GET_NETWORK_CONDITIONS , 'GET' , '/session/:sessionId/chromium/network_conditions' ) ; executor . defineCommand ( Command . SET_NETWORK_CONDITIONS , 'POST' , '/session/:sessionId/chromium/network_conditions' ) ; executor . defineCommand ( Command . SEND_DEVTOOLS_COMMAND , 'POST' , '/session/:sessionId/chromium/send_command' ) ; }
Configures the given executor with Chrome-specific commands.
@param {!http.Executor} executor the executor to configure.
Configures the given executor with Chrome - specific commands .