Skip to content

Interface: ILogCommands

@appium/types.ILogCommands

Hierarchy

  • ILogCommands

Driver

Table of contents

Properties

Methods

Properties

supportedLogTypes

supportedLogTypes: Readonly<LogDefRecord>

Definition of the available log types

Defined in

node_modules/@appium/types/lib/driver.ts:338

Methods

getLog

getLog(logType): Promise<unknown[]>

Get the log for a given log type.

Parameters

Name Type Description
logType string Name/key of log type as defined in supportedLogTypes.

Returns

Promise<unknown[]>

Defined in

node_modules/@appium/types/lib/driver.ts:350


getLogTypes

getLogTypes(): Promise<string[]>

Get available log types as a list of strings

Returns

Promise<string[]>

Defined in

node_modules/@appium/types/lib/driver.ts:343