Skip to content

Interface: MethodDef<Ext>

@appium/types.MethodDef

The definition of an extension method, which will be provided via Appium's API.

Type parameters

Name Type
Ext extends Plugin | Driver

Table of contents

Properties

Properties

command

Optional Readonly command: NonNullable<{ [Key in string | number | symbol]: Required<Ext>[Key] extends (Ext extends Plugin ? PluginCommand<ExternalDriver<Object>, any[], any> : Ext extends Driver<Object, StringRecord, any> ? DriverCommand<any, unknown> : never) ? Key : never }[keyof Ext]>

Name of the command.

Defined in

packages/types/lib/index.ts:91


neverProxy

Optional Readonly neverProxy: boolean

If true, this Method will never proxy.

Defined in

packages/types/lib/index.ts:98


payloadParams

Optional Readonly payloadParams: PayloadParams

Specifies shape of payload

Defined in

packages/types/lib/index.ts:102