B2G/gecko/testing/marionette/marionette-server.js
/**
   * Single Tap
   *
   * @param object aRequest
            'element' represents the ID of the element to single tap on
   */
Single Tap
@param object aRequest
'element' represents the ID of the element to single tap on
Single Tap @param object aRequest ' element ' represents the ID of the element to single tap on
function MDA_singleTap(aRequest) {
    this.command_id = this.getCommandId();
    let serId = aRequest.element;
    let x = aRequest.x;
    let y = aRequest.y;
    if (this.context == "chrome") {
      this.sendError("Command 'singleTap' is not available in chrome context", 500, null, this.command_id);
    }
    else {
      this.sendAsync("singleTap",
                     {
                       value: serId,
                       corx: x,
                       cory: y
                     },
                     this.command_id);
    }
  }
function MDA_singleTap ( aRequest ) { this . command_id = this . getCommandId ( ) ; let serId = aRequest . element ; let x = aRequest . x ; let y = aRequest . y ; if ( this . context == "chrome" ) { this . sendError ( "Command 'singleTap' is not available in chrome context" , 500 , null , this . command_id ) ; } else { this . sendAsync ( "singleTap" , { value : serId , corx : x , cory : y } , this . command_id ) ; } }
Single Tap
 @param object aRequest
'element' represents the ID of the element to single tap on
Single Tap @param object aRequest ' element ' represents the ID of the element to single tap on