Describes a command to be executed by the WebDriverJS framework.

Param

The name of this command.

Hierarchy

  • Command

Constructors

  • Parameters

    • name: string

      The name of this command.

    Returns Command

Methods

  • Returns string

    This command's name.

  • Returns a named command parameter.

    Parameters

    • key: string

      The parameter key to look up.

    Returns any

    The parameter value, or undefined if it has not been set.

  • Returns any

    The parameters to send with this command.

  • Sets a parameter to send with this command.

    Parameters

    • name: string

      The parameter name.

    • value: any

      The parameter value.

    Returns Command

    A self reference.

  • Sets the parameters for this command.

    Parameters

    • parameters: any

      The command parameters.

    Returns Command

    A self reference.

Generated using TypeDoc