Interface: BrowserTab
@kortexya/reasoninglayer / BrowserTab
Interface: BrowserTab
Section titled “Interface: BrowserTab”Defined in: src/types/browser-agent.ts:37
One tab of the run’s task tab group, as the person’s browser reports it.
Example
Section titled “Example”const tab: BrowserTab = { tabId: 41, current: true, url: 'https://example.com' };Properties
Section titled “Properties”current?
Section titled “current?”
optionalcurrent?:boolean
Defined in: src/types/browser-agent.ts:41
Whether this is the tab the agent is working in now.
openedByAgent?
Section titled “openedByAgent?”
optionalopenedByAgent?:boolean
Defined in: src/types/browser-agent.ts:43
Whether the agent opened this tab during the run; only such tabs may be closed.
tabId:
number
Defined in: src/types/browser-agent.ts:39
The browser’s id for the tab; tab actions (switchTab, closeTab) name it.
title?
Section titled “title?”
optionaltitle?:string
Defined in: src/types/browser-agent.ts:45
The tab’s title (page-controlled).
optionalurl?:string
Defined in: src/types/browser-agent.ts:47
The tab’s address (page-controlled after redirects).