Interface: DriverHelpers
@appium/types.DriverHelpers
Table of contents
Properties
Properties
configureApp
• configureApp: (app
: string
, supportedAppExtensions?
: string
| string
[] | ConfigureAppOptions
) => Promise
<string
>
Type declaration
▸ (app
, supportedAppExtensions?
): Promise
<string
>
Parameters
Name | Type |
---|---|
app |
string |
supportedAppExtensions? |
string | string [] | ConfigureAppOptions |
Returns
Promise
<string
>
Defined in
packages/types/lib/driver.ts:486
duplicateKeys
• duplicateKeys: input
: T
, firstKey
: string
, secondKey
: string
) => T
Type declaration
▸ <T
>(input
, firstKey
, secondKey
): T
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
input |
T |
firstKey |
string |
secondKey |
string |
Returns
T
Defined in
packages/types/lib/driver.ts:491
generateDriverLogPrefix
• generateDriverLogPrefix: <C>(obj
: Core
<C
, StringRecord
>, sessionId?
: string
) => string
Type declaration
▸ <C
>(obj
, sessionId?
): string
Type parameters
Name | Type |
---|---|
C |
extends Constraints |
Parameters
Name | Type |
---|---|
obj |
Core <C , StringRecord > |
sessionId? |
string |
Returns
string
Defined in
packages/types/lib/driver.ts:493
isPackageOrBundle
• isPackageOrBundle: (app
: string
) => boolean
Type declaration
▸ (app
): boolean
Parameters
Name | Type |
---|---|
app |
string |
Returns
boolean
Defined in
packages/types/lib/driver.ts:490
parseCapsArray
• parseCapsArray: (cap
: string
| string
[]) => string
[]
Type declaration
▸ (cap
): string
[]
Parameters
Name | Type |
---|---|
cap |
string | string [] |
Returns
string
[]