Interface: PayloadParams
@appium/types.PayloadParams
Defines the shape of a payload for a MethodDef.
Table of contents
Properties
Properties
makeArgs
• Optional
makeArgs: (obj
: any
) => any
Type declaration
▸ (obj
): any
Parameters
Name | Type |
---|---|
obj |
any |
Returns
any
Defined in
packages/types/lib/command.ts:15
optional
• Optional
optional: readonly string
[] | readonly readonly string[][]
Defined in
packages/types/lib/command.ts:13
required
• Optional
required: readonly string
[] | readonly readonly string[][]
Defined in
packages/types/lib/command.ts:12
unwrap
• Optional
unwrap: string
Defined in
packages/types/lib/command.ts:11
validate
• Optional
validate: (obj
: any
, protocol
: string
) => undefined
| string
| boolean
Type declaration
▸ (obj
, protocol
): undefined
| string
| boolean
Parameters
Name | Type |
---|---|
obj |
any |
protocol |
string |
Returns
undefined
| string
| boolean
Defined in
packages/types/lib/command.ts:14
wrap
• Optional
wrap: string