@ai16z/eliza v0.1.6-alpha.4 / IBrowserService
Interface: IBrowserService
Extends
Accessors
serviceType
Get Signature
get serviceType():
ServiceType
Returns
Inherited from
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
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