Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / IBrowserService

Interface: IBrowserService

Extends

Accessors

serviceType

Get Signature

get serviceType(): ServiceType

Returns

ServiceType

Inherited from

Service.serviceType

Defined in

packages/core/src/types.ts:1016

Methods

initialize()

abstract initialize(runtime): Promise<void>

Add abstract initialize method that must be implemented by derived classes

Parameters

runtime: IAgentRuntime

Returns

Promise<void>

Inherited from

Service.initialize

Defined in

packages/core/src/types.ts:1021


closeBrowser()

closeBrowser(): Promise<void>

Returns

Promise<void>

Defined in

packages/core/src/types.ts:1157


getPageContent()

getPageContent(url, runtime): Promise<object>

Parameters

url: string

runtime: IAgentRuntime

Returns

Promise<object>

title

title: string

description

description: string

bodyContent

bodyContent: string

Defined in

packages/core/src/types.ts:1158